diff options
author | Nathan Scott <nathans@sgi.com> | 2006-07-28 17:04:44 +1000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-07-28 17:04:44 +1000 |
commit | f5faad799475c4058416264f672bb33bf8b5ef41 (patch) | |
tree | ba4ce34bcf6182e0100fc740cdcbcdfea23dbb0e /fs/xfs/linux-2.6 | |
parent | 2a293b7d5aa2f0d1e3d87b642f7ac263c2d664e3 (diff) | |
download | op-kernel-dev-f5faad799475c4058416264f672bb33bf8b5ef41.zip op-kernel-dev-f5faad799475c4058416264f672bb33bf8b5ef41.tar.gz |
[XFS] Fix remount vs no/barrier options by ensuring we clear unwanted
flags from iclog buffers before submitting them for writing.
SGI-PV: 954772
SGI-Modid: xfs-linux-melb:xfs-kern:26605a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.h b/fs/xfs/linux-2.6/xfs_buf.h index ceda3a2..7858703 100644 --- a/fs/xfs/linux-2.6/xfs_buf.h +++ b/fs/xfs/linux-2.6/xfs_buf.h @@ -246,8 +246,8 @@ extern void xfs_buf_trace(xfs_buf_t *, char *, void *, void *); #define BUF_BUSY XBF_DONT_BLOCK #define XFS_BUF_BFLAGS(bp) ((bp)->b_flags) -#define XFS_BUF_ZEROFLAGS(bp) \ - ((bp)->b_flags &= ~(XBF_READ|XBF_WRITE|XBF_ASYNC|XBF_DELWRI)) +#define XFS_BUF_ZEROFLAGS(bp) ((bp)->b_flags &= \ + ~(XBF_READ|XBF_WRITE|XBF_ASYNC|XBF_DELWRI|XBF_ORDERED)) #define XFS_BUF_STALE(bp) ((bp)->b_flags |= XFS_B_STALE) #define XFS_BUF_UNSTALE(bp) ((bp)->b_flags &= ~XFS_B_STALE) |