]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: collapse xlog_state_set_callback in caller
authorDave Chinner <dchinner@redhat.com>
Thu, 20 Jun 2024 07:21:24 +0000 (09:21 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Thu, 4 Jul 2024 07:16:46 +0000 (12:46 +0530)
commitbe5abd323bf4bee137d80d605ff30a7a66dad96d
treebc3f9e81b12332fc4f71394426569e809dbe1b31
parent0dcd5a10d9878dc5a3fd17c0331646a69ebb5da6
xfs: collapse xlog_state_set_callback in caller

The function is called from a single place, and it isn't just
setting the iclog state to XLOG_STATE_CALLBACK - it can mark iclogs
clean, which moves them to states after CALLBACK. Hence the function
is now badly named, and should just be folded into the caller where
the iclog completion logic makes a whole lot more sense.

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