xfs: move the di_nblocks field to struct xfs_inode
In preparation of removing the historic icinode struct, move the nblocks field into the containing xfs_inode structure. 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>
This commit is contained in:
committed by
Darrick J. Wong
parent
13d2c10b05
commit
6e73a545f9
@ -55,6 +55,7 @@ typedef struct xfs_inode {
|
||||
unsigned long i_flags; /* see defined flags below */
|
||||
uint64_t i_delayed_blks; /* count of delay alloc blks */
|
||||
xfs_fsize_t i_disk_size; /* number of bytes in file */
|
||||
xfs_rfsblock_t i_nblocks; /* # of direct & btree blocks */
|
||||
prid_t i_projid; /* owner's project id */
|
||||
|
||||
struct xfs_icdinode i_d; /* most of ondisk inode */
|
||||
|
Reference in New Issue
Block a user