Home
last modified time | relevance | path

Searched hist:"889 c65b3f60af4c840896478fc6151363ffa279f" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/xfs/
H A Dxfs_aops.cdiff 889c65b3f60af4c840896478fc6151363ffa279f Thu Jul 12 07:26:02 CEST 2018 Christoph Hellwig <hch@lst.de> xfs: remove the imap_valid flag

Simplify the way we check for a valid imap - we know we have a valid
mapping after xfs_map_blocks returned successfully, and we know we can
call xfs_imap_valid on any imap, as it will always fail on a
zero-initialized map.

We can also remove the xfs_imap_valid function and fold it into
xfs_map_blocks now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>