]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: add a xfs_agino_to_ino helper
authorChristoph Hellwig <hch@lst.de>
Sat, 31 Aug 2024 07:55:11 +0000 (10:55 +0300)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 05:37:27 +0000 (07:37 +0200)
commit76d6d7755f11f20a4bdd856ea69f8c5934403279
tree9a410cb7a3b12d82d3e6909aaeeb4931c43c9670
parentdec256e02923f819b730709a9720e4c572a57e51
xfs: add a xfs_agino_to_ino helper

Add a helpers to convert an agino to an ino based on a pag structure.

This provides a simpler conversion and better type safety compared to the
existing code that passes the mount structure and the agno separately.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_ag.h
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/scrub/agheader_repair.c
fs/xfs/scrub/common.c
fs/xfs/scrub/ialloc.c
fs/xfs/scrub/ialloc_repair.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_iwalk.c
fs/xfs/xfs_log_recover.c