]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb18cd1143af70d69638112daf87a07318f29aa8
tree0ba3aa8c323f2babc23c0830ac93cfad68fbca1d
parentc9ef00a2b2fd5bd4bd14b599607f90126f9b6ef7
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