xfs: Add helper function xfs_attr_node_removename_setup
authorAllison Collins <allison.henderson@oracle.com>
Tue, 21 Jul 2020 04:47:30 +0000 (21:47 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 29 Jul 2020 03:28:12 +0000 (20:28 -0700)
commit674eb548cf0ced1487ee229f96af2c7cf0099d2a
tree484763436bc878864262f26e04a5687859d09a2f
parent410c19885db5f7c4fca55b437e199e18252142b6
xfs: Add helper function xfs_attr_node_removename_setup

This patch adds a new helper function xfs_attr_node_removename_setup.
This will help modularize xfs_attr_node_removename when we add delay
ready attributes later.

Signed-off-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
[darrick: fix unused variable complaints by 0day robot]
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reported-by: kernel test robot <lkp@intel.com>
fs/xfs/libxfs/xfs_attr.c