aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/libxfs/xfs_rmap.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-22 12:33:17 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-12-23 13:06:03 -0800
commitaf32541081ed6b6ad49b1ea38b5128cb319841b0 (patch)
tree7c304fce5ce4d74c20701a33beca94876eaadf5c /fs/xfs/libxfs/xfs_rmap.c
parentxfs: allow inode-based btrees to reserve space in the data device (diff)
downloadwireguard-linux-af32541081ed6b6ad49b1ea38b5128cb319841b0.tar.xz
wireguard-linux-af32541081ed6b6ad49b1ea38b5128cb319841b0.zip
xfs: add some rtgroup inode helpers
Create some simple helpers to reduce the amount of typing whenever we access rtgroup inodes. Conversion was done with this spatch and some minor reformatting: @@ expression rtg; @@ - rtg->rtg_inodes[XFS_RTGI_BITMAP] + rtg_bitmap(rtg) @@ expression rtg; @@ - rtg->rtg_inodes[XFS_RTGI_SUMMARY] + rtg_summary(rtg) and the CLI command: $ spatch --sp-file /tmp/moo.cocci --dir fs/xfs/ --use-gitgrep --in-place Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rmap.c')
0 files changed, 0 insertions, 0 deletions