diff options
| author | Christoph Hellwig <hch@lst.de> | 2018-07-11 22:26:02 -0700 |
|---|---|---|
| committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-11 22:26:02 -0700 |
| commit | 889c65b3f60af4c840896478fc6151363ffa279f (patch) | |
| tree | c4e0685540bc6c0652b8e839fac3575189936edd /tools/perf/scripts/python/bin | |
| parent | 3345746ef38bb794ae9d4d0762adf151e452663e (diff) | |
| download | linux-889c65b3f60af4c840896478fc6151363ffa279f.tar.gz linux-889c65b3f60af4c840896478fc6151363ffa279f.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
