mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[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>
This commit is contained in:
parent
0432dab2d2
commit
6f948fbd44
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue