diff options
author | 2024-11-22 12:33:17 -0800 | |
---|---|---|
committer | 2024-12-23 13:06:03 -0800 | |
commit | af32541081ed6b6ad49b1ea38b5128cb319841b0 (patch) | |
tree | 7c304fce5ce4d74c20701a33beca94876eaadf5c /fs/xfs/libxfs/xfs_rmap.c | |
parent | xfs: allow inode-based btrees to reserve space in the data device (diff) | |
download | wireguard-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