diff options
| author | 2006-06-09 14:58:38 +1000 | |
|---|---|---|
| committer | 2006-06-09 14:58:38 +1000 | |
| commit | 7d04a335b6b2d79e3742ffd28bd651204574e794 (patch) | |
| tree | 2b687202ae47c5e0c70a2b921b77135066131d8d /fs/xfs/xfs_inode.c | |
| parent | [XFS] getattr can return an error code, so propogate any from lower (diff) | |
| download | linux-dev-7d04a335b6b2d79e3742ffd28bd651204574e794.tar.xz linux-dev-7d04a335b6b2d79e3742ffd28bd651204574e794.zip | |
[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>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
| -rw-r--r-- | fs/xfs/xfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index df695e968066..b30bffa99edc 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -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) { /* |
