xfs: widen flags argument to the xfs_iflags_* helpers
authorDarrick J. Wong <djwong@kernel.org>
Thu, 2 May 2024 14:48:37 +0000 (07:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 2 May 2024 14:48:37 +0000 (07:48 -0700)
commit1a3f1afb2532028c7dc5552b3aa39423c2621062
treeda30c87ddc6ca948b09fdac72b510c62a6720ec7
parent3791a053294b037a6bf62df03480f5c5ddfd4d1b
xfs: widen flags argument to the xfs_iflags_* helpers

xfs_inode.i_flags is an unsigned long, so make these helpers take that
as the flags argument instead of unsigned short.  This is needed for the
next patch.

While we're at it, remove the iflags variable from xfs_iget_cache_miss
because we no longer need it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.h