xfs: combine iunlink inode update functions
authorDave Chinner <dchinner@redhat.com>
Thu, 14 Jul 2022 01:46:59 +0000 (11:46 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 14 Jul 2022 01:46:59 +0000 (11:46 +1000)
commit062efdb0803adac3fad039d681789c5e01818bef
treec39b35a8a765e76a5d69edb7a4c85d0e2a98c31b
parent5301f87013145a874cda4ae008b6fcc2b810a721
xfs: combine iunlink inode update functions

Combine the logging of the inode unlink list update into the
calling function that looks up the buffer we end up logging. These
do not need to be separate functions as they are both short, simple
operations and there's only a single call path through them. This
new function will end up being the core of the iunlink log item
processing...

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