diff options
author | Christoph Hellwig <hch@lst.de> | 2008-11-27 22:23:36 -0500 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-11-30 19:36:59 -0500 |
commit | 2b5decd09e9f98c4e361f97f3e32d80164774f75 (patch) | |
tree | 711662692689867a5d2cf7b0fde1864a3cad31b6 /fs/xfs/xfs_mount.h | |
parent | 00dd4029e9afa642c2b26dc3aac834322ac29b4a (diff) |
[XFS] remove xfs_vfs.h
The only thing left are the forced shutdown flags and freeze macros which
fit into xfs_mount.h much better.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index d70314302520..4fce22a8c355 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -428,6 +428,16 @@ void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname, | |||
428 | #define xfs_force_shutdown(m,f) \ | 428 | #define xfs_force_shutdown(m,f) \ |
429 | xfs_do_force_shutdown(m, f, __FILE__, __LINE__) | 429 | xfs_do_force_shutdown(m, f, __FILE__, __LINE__) |
430 | 430 | ||
431 | #define SHUTDOWN_META_IO_ERROR 0x0001 /* write attempt to metadata failed */ | ||
432 | #define SHUTDOWN_LOG_IO_ERROR 0x0002 /* write attempt to the log failed */ | ||
433 | #define SHUTDOWN_FORCE_UMOUNT 0x0004 /* shutdown from a forced unmount */ | ||
434 | #define SHUTDOWN_CORRUPT_INCORE 0x0008 /* corrupt in-memory data structures */ | ||
435 | #define SHUTDOWN_REMOTE_REQ 0x0010 /* shutdown came from remote cell */ | ||
436 | #define SHUTDOWN_DEVICE_REQ 0x0020 /* failed all paths to the device */ | ||
437 | |||
438 | #define xfs_test_for_freeze(mp) ((mp)->m_super->s_frozen) | ||
439 | #define xfs_wait_for_freeze(mp,l) vfs_check_frozen((mp)->m_super, (l)) | ||
440 | |||
431 | /* | 441 | /* |
432 | * Flags for xfs_mountfs | 442 | * Flags for xfs_mountfs |
433 | */ | 443 | */ |