xfs: don't reset the "inode core" in xfs_iread
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Nov 2019 16:24:29 +0000 (08:24 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 13 Nov 2019 19:13:45 +0000 (11:13 -0800)
commit048a35d2f0b4cfeb24cbb7fe59e78124d8e7dc73
tree6970d18577893ff44f8334fcdb6df1adceb0b308
parentde7a866fd41b227b0aa6e9cbeb0dae221c12f542
xfs: don't reset the "inode core" in xfs_iread

We have the exact same memset in xfs_inode_alloc, which is always called
just before xfs_iread.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_inode_buf.c