aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log_priv.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-02 15:12:04 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 15:12:04 +1100
commitcfcbbbd089eadcaa86abb2c0f352e1ab23e16f72 (patch)
tree956db132cef0939564d2ce3acbbb8cf581f35be9 /fs/xfs/xfs_log_priv.h
parentc11e2c369d06576c9e4a900a975cbfab5e7e3c53 (diff)
[XFS] Remove old, broken nolog-mode code - noone plans to ever fix it.
SGI-PV: 944821 SGI-Modid: xfs-linux:xfs-kern:24213a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r--fs/xfs/xfs_log_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h
index 758e4eb67c0..8f285149681 100644
--- a/fs/xfs/xfs_log_priv.h
+++ b/fs/xfs/xfs_log_priv.h
@@ -492,6 +492,8 @@ typedef struct log {
* alignment mask */
} xlog_t;
+#define XLOG_FORCED_SHUTDOWN(log) ((log)->l_flags & XLOG_IO_ERROR)
+
#define XLOG_GRANT_SUB_SPACE(log,bytes,type) \
xlog_grant_sub_space(log,bytes,type)
static inline void xlog_grant_sub_space(struct log *log, int bytes, int type)