]> git.itanic.dy.fi Git - linux-stable/commit
xfs: remove xfs_attr_shortform_lookup
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Dec 2023 06:34:59 +0000 (07:34 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 29 Dec 2023 08:07:04 +0000 (13:37 +0530)
commit22b7b1f597a6a21fb7b3791a55f3a7ae54d2dfe4
tree40310c27afd3dc6d3df8e816793ec484c90601b6
parent6c8d169bbd51fc10d1d0029d495962881315b4c2
xfs: remove xfs_attr_shortform_lookup

xfs_attr_shortform_lookup is only used by xfs_attr_shortform_addname,
which is much better served by calling xfs_attr_sf_findname.  Switch
it over and remove xfs_attr_shortform_lookup.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_attr_leaf.h