diff options
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 | */ |