On Thu, Nov 07, 2019 at 11:05:15PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Replace the open-coded checks for whether or not an inode fork maps > blocks with a macro that will implant the code for us. This helps us > declutter the bmap code a bit. > > Note that I had to use a macro instead of a static inline function > because of C header dependency problems between xfs_inode.h and > xfs_inode_fork.h. > > Conversion was performed with the following Coccinelle script: Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>