]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the xfs_inode argument to xfs_attr_get_ilocked
authorChristoph Hellwig <hch@lst.de>
Fri, 1 May 2020 21:01:32 +0000 (17:01 -0400)
committerEric Sandeen <sandeen@redhat.com>
Fri, 1 May 2020 21:01:32 +0000 (17:01 -0400)
commit7e66363bb088b1da32c8cd65974bd7b3c7ceeb6f
tree3eb08fec81693a138931df48fa10be75f754c76a
parent5a137356100bbcca96bcce1e46d12703b305dbba
xfs: remove the xfs_inode argument to xfs_attr_get_ilocked

Source kernel commit: c36f533f14075fee35f8beeb1729d0975fb2e137

The inode can easily be derived from the args structure.  Also
don't bother with else statements after early returns.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c
libxfs/xfs_attr.h