diff options
author | Dave Chinner <dchinner@redhat.com> | 2016-02-10 15:01:11 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-10 15:01:11 +1100 |
commit | 0cac682ff683bac968c24a4774c69c3a9ff35013 (patch) | |
tree | 9c9497615204c9d68f193dc4c7736e64273a0f77 /fs/xfs/xfs_buf.h | |
parent | 1157b32c732cbab75320e429559c0ec9f5d382e4 (diff) | |
download | op-kernel-dev-0cac682ff683bac968c24a4774c69c3a9ff35013.zip op-kernel-dev-0cac682ff683bac968c24a4774c69c3a9ff35013.tar.gz |
xfs: remove XBF_READ flag wrapper macros
They only set/clear/check a flag, no need for obfuscating this
with a macro.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r-- | fs/xfs/xfs_buf.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index 2a28d1c..329e612 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h @@ -321,10 +321,6 @@ void xfs_buf_stale(struct xfs_buf *bp); #define XFS_BUF_UNSTALE(bp) ((bp)->b_flags &= ~XBF_STALE) #define XFS_BUF_ISSTALE(bp) ((bp)->b_flags & XBF_STALE) -#define XFS_BUF_READ(bp) ((bp)->b_flags |= XBF_READ) -#define XFS_BUF_UNREAD(bp) ((bp)->b_flags &= ~XBF_READ) -#define XFS_BUF_ISREAD(bp) ((bp)->b_flags & XBF_READ) - #define XFS_BUF_WRITE(bp) ((bp)->b_flags |= XBF_WRITE) #define XFS_BUF_UNWRITE(bp) ((bp)->b_flags &= ~XBF_WRITE) #define XFS_BUF_ISWRITE(bp) ((bp)->b_flags & XBF_WRITE) |