[XFS] Shutdown the filesystem if all device paths have gone. Made
shutdown vop flags consistent with sync vop flags declarations too. SGI-PV: 939911 SGI-Modid: xfs-linux-melb:xfs-kern:26096a Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
@@ -3206,7 +3206,7 @@ xfs_iflush(
|
||||
|
||||
corrupt_out:
|
||||
xfs_buf_relse(bp);
|
||||
xfs_force_shutdown(mp, XFS_CORRUPT_INCORE);
|
||||
xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE);
|
||||
xfs_iflush_abort(ip);
|
||||
/*
|
||||
* Unlocks the flush lock
|
||||
@@ -3228,7 +3228,7 @@ cluster_corrupt_out:
|
||||
xfs_buf_relse(bp);
|
||||
}
|
||||
|
||||
xfs_force_shutdown(mp, XFS_CORRUPT_INCORE);
|
||||
xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE);
|
||||
|
||||
if(!bufwasdelwri) {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user