diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-29 20:11:39 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-07 23:37:03 +0200 |
commit | 7e2a8af528396d275962b33af9e5350da10c01f3 (patch) | |
tree | 6af18476fcf1d37956b69cd7b6e875d5311b33fe /fs/xfs/xfs_inode_item.c | |
parent | xfs: remove the di_dmevmask and di_dmstate fields from struct xfs_icdinode (diff) | |
download | linux-7e2a8af528396d275962b33af9e5350da10c01f3.tar.xz linux-7e2a8af528396d275962b33af9e5350da10c01f3.zip |
xfs: don't clear the "dinode core" in xfs_inode_alloc
The xfs_icdinode structure just contains a random mix of inode field,
which are all read from the on-disk inode and mostly not looked at
before reading the inode or initializing a new inode cluster. The
only exceptions are the forkoff and blocks field, which are used
in sanity checks for freshly allocated inodes.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
0 files changed, 0 insertions, 0 deletions