xfs: don't nest icloglock inside ic_callback_lock
authorDave Chinner <dchinner@redhat.com>
Fri, 25 Jun 2021 18:21:00 +0000 (11:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 25 Jun 2021 18:21:00 +0000 (11:21 -0700)
commit6be001021f0b307c8c1544e8b3ac87de20d711de
treee00ff94811efb130eb78d40d10ab6be8b15065ce
parentd3a3340b6af28ab79a66687973fb0287d976d490
xfs: don't nest icloglock inside ic_callback_lock

It's completely unnecessary because callbacks are added to iclogs
without holding the icloglock, hence no amount of ordering between
the icloglock and ic_callback_lock will order the removal of
callbacks from the iclog.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_log.c