diff options
author | Christoph Hellwig <hch@lst.de> | 2017-03-28 14:53:36 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-04-03 15:18:16 -0700 |
commit | 63fbb4c18d6b04d5f376326395cddf6c2de2c965 (patch) | |
tree | f6c4333f4d96e8e6a3eb79f09ad7af463b24e8f0 /fs/xfs/libxfs | |
parent | 9c4f29d39168bb9363189f0d54ee1202372e7d9b (diff) | |
download | op-kernel-dev-63fbb4c18d6b04d5f376326395cddf6c2de2c965.zip op-kernel-dev-63fbb4c18d6b04d5f376326395cddf6c2de2c965.tar.gz |
xfs: remove the ISUNWRITTEN macro
Opencoding the trivial checks makes it much easier to read (and grep..).
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap_btree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap_btree.h b/fs/xfs/libxfs/xfs_bmap_btree.h index 819a8a4..90347a9 100644 --- a/fs/xfs/libxfs/xfs_bmap_btree.h +++ b/fs/xfs/libxfs/xfs_bmap_btree.h @@ -30,7 +30,6 @@ struct xfs_trans; #define XFS_EXTFMT_INODE(x) \ (xfs_sb_version_hasextflgbit(&((x)->i_mount->m_sb)) ? \ XFS_EXTFMT_HASSTATE : XFS_EXTFMT_NOSTATE) -#define ISUNWRITTEN(x) ((x)->br_state == XFS_EXT_UNWRITTEN) /* * Btree block header size depends on a superblock flag. |