]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: pass IGET flags through to xfs_iread
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:09:55 +0000 (18:09 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit4c300905db8d424996ec5f9890fa93e67ef40112
tree20c5ea6ffd11d0898203811d6090064101f6a703
parentd490a1d34ef119ca24ccdb191eeaf7b469c327b9
libxfs: pass IGET flags through to xfs_iread

Change the lock_flags parameter to iget_flags so that we can supply
XFS_IGET_ flags in future patches.  All callers of libxfs_iget and
libxfs_trans_iget pass zero for this parameter and there are no inode
locks in xfsprogs, so there's no behavior change here.

Port the kernel's version of the xfs_inode_from_disk callsite.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/inode.c