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)
commitc36f533f14075fee35f8beeb1729d0975fb2e137
tree82e68a223e42254617d1690707d9e73805c681f1
parente5171d7e989479fe6298f8aedbd94e0aec23f5fc
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