diff options
author | Tim Shimmin <tes@sgi.com> | 2005-09-02 02:52:55 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-09-02 02:52:55 -0400 |
commit | 6f948fbd443255e3a918438ce41cd7581cf8146d (patch) | |
tree | 86927e218d4ff43672847732f7756f997a01bcfb /fs | |
parent | 0432dab2d2d3b35347a95c01c78a40781b6431fb (diff) |
[XFS] Need to unlock the AIL before calling xfs_force_shutdown() because
when it goes to force out the log, and get the tail lsn, it will want to
get the AIL lock.
SGI-PV: 940076
SGI-Modid: xfs-linux:xfs-kern:23260a
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_trans_ail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index 7bc5eab4c2c1..2a71b4f91bfa 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c | |||
@@ -379,8 +379,8 @@ xfs_trans_delete_ail( | |||
379 | else { | 379 | else { |
380 | xfs_cmn_err(XFS_PTAG_AILDELETE, CE_ALERT, mp, | 380 | xfs_cmn_err(XFS_PTAG_AILDELETE, CE_ALERT, mp, |
381 | "xfs_trans_delete_ail: attempting to delete a log item that is not in the AIL"); | 381 | "xfs_trans_delete_ail: attempting to delete a log item that is not in the AIL"); |
382 | xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); | ||
383 | AIL_UNLOCK(mp, s); | 382 | AIL_UNLOCK(mp, s); |
383 | xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); | ||
384 | } | 384 | } |
385 | } | 385 | } |
386 | } | 386 | } |