xfs: remove the ISUNWRITTEN macro
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Mar 2017 21:53:36 +0000 (14:53 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Apr 2017 22:18:16 +0000 (15:18 -0700)
commit63fbb4c18d6b04d5f376326395cddf6c2de2c965
treef6c4333f4d96e8e6a3eb79f09ad7af463b24e8f0
parent9c4f29d39168bb9363189f0d54ee1202372e7d9b
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>
fs/xfs/libxfs/xfs_bmap_btree.h
fs/xfs/xfs_aops.c
fs/xfs/xfs_iomap.c