diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-01-19 04:56:44 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-01-21 14:44:36 -0500 |
commit | 0cadda1c5f194f98a05d252ff4385d86d2ed0862 (patch) | |
tree | a299a7a976f1478f9024f1d3aff9a2351a8397fe /fs/xfs/linux-2.6/xfs_buf.c | |
parent | a210c1aa7f6c90b729cc3a72d03e789b13cb6c47 (diff) |
xfs: remove duplicate buffer flags
Currently we define aliases for the buffer flags in various
namespaces, which only adds confusion. Remove all but the XBF_
flags to clean this up a bit.
Note that we still abuse XFS_B_ASYNC/XBF_ASYNC for some non-buffer
uses, but I'll clean that up later.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index efd745bb8887..730eff1e71a3 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c | |||
@@ -1169,7 +1169,7 @@ xfs_bioerror_relse( | |||
1169 | XFS_BUF_STALE(bp); | 1169 | XFS_BUF_STALE(bp); |
1170 | XFS_BUF_CLR_IODONE_FUNC(bp); | 1170 | XFS_BUF_CLR_IODONE_FUNC(bp); |
1171 | XFS_BUF_CLR_BDSTRAT_FUNC(bp); | 1171 | XFS_BUF_CLR_BDSTRAT_FUNC(bp); |
1172 | if (!(fl & XFS_B_ASYNC)) { | 1172 | if (!(fl & XBF_ASYNC)) { |
1173 | /* | 1173 | /* |
1174 | * Mark b_error and B_ERROR _both_. | 1174 | * Mark b_error and B_ERROR _both_. |
1175 | * Lot's of chunkcache code assumes that. | 1175 | * Lot's of chunkcache code assumes that. |