xfs: factor the xfs_iunlink functions
authorDave Chinner <dchinner@redhat.com>
Thu, 14 Jul 2022 01:36:40 +0000 (11:36 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 14 Jul 2022 01:36:40 +0000 (11:36 +1000)
commita4454cd69c66bf3e3bbda352b049732f836fc6b2
tree0ba3aa8c323f2babc23c0830ac93cfad68fbca1d
parent04a98a036cf8b810dda172a9dcfcbd783bf63655
xfs: factor the xfs_iunlink functions

Prep work that separates the locking that protects the unlinked list
from the actual operations being performed. This also helps document
the fact they are performing list insert  and remove operations. No
functional code change.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_inode.c