diff options
| author | Christoph Hellwig <[email protected]> | 2021-03-29 18:11:40 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2021-04-07 21:37:03 +0000 |
| commit | 6e73a545f91e128d8dd7da1769dca200225f5d82 (patch) | |
| tree | 906751d5c19e819b264ee0fa00eda26a8de6a89e /fs/xfs/xfs_inode.h | |
| parent | xfs: move the di_size field to struct xfs_inode (diff) | |
| download | kernel-6e73a545f91e128d8dd7da1769dca200225f5d82.tar.gz kernel-6e73a545f91e128d8dd7da1769dca200225f5d82.zip | |
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 <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
| -rw-r--r-- | fs/xfs/xfs_inode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 592ac6d18b92..687bb41f7da4 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -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 */ |
