From: Tim Shimmin Date: Fri, 2 Sep 2005 06:52:55 +0000 (+1000) Subject: [XFS] Need to unlock the AIL before calling xfs_force_shutdown() because X-Git-Tag: v2.6.14-rc1~526^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f948fbd443255e3a918438ce41cd7581cf8146d;p=profile%2Fivi%2Fkernel-x86-ivi.git [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 Signed-off-by: Nathan Scott --- diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index 7bc5eab..2a71b4f 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c @@ -379,8 +379,8 @@ xfs_trans_delete_ail( else { xfs_cmn_err(XFS_PTAG_AILDELETE, CE_ALERT, mp, "xfs_trans_delete_ail: attempting to delete a log item that is not in the AIL"); - xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); AIL_UNLOCK(mp, s); + xfs_force_shutdown(mp, XFS_CORRUPT_INCORE); } } }