summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_priv.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-02 05:12:04 +0100
committerNathan Scott <nathans@sgi.com>2005-11-02 05:12:04 +0100
commitcfcbbbd089eadcaa86abb2c0f352e1ab23e16f72 (patch)
tree956db132cef0939564d2ce3acbbb8cf581f35be9 /fs/xfs/xfs_log_priv.h
parent[XFS] Rework fid encode/decode wrt 64 bit inums interacting with NFS. (diff)
downloadlinux-cfcbbbd089eadcaa86abb2c0f352e1ab23e16f72.tar.xz
linux-cfcbbbd089eadcaa86abb2c0f352e1ab23e16f72.zip
[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 758e4eb67c0c..8f285149681f 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)