]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the xfs_inode argument to xfs_attr_get_ilocked
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Feb 2020 01:30:34 +0000 (17:30 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Mar 2020 04:55:53 +0000 (20:55 -0800)
commitb82c2820fdf18e3174a90714a4fceb0433b6fefe
tree82e68a223e42254617d1690707d9e73805c681f1
parenta7728391a1876dcdc1bf7fc304a1db3ec6d9a080
xfs: remove the xfs_inode argument to xfs_attr_get_ilocked

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>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr.h
fs/xfs/scrub/attr.c