summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-11 22:26:02 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:02 -0700
commit889c65b3f60af4c840896478fc6151363ffa279f (patch)
treec4e0685540bc6c0652b8e839fac3575189936edd /tools/perf/scripts/python
parent3345746ef38bb794ae9d4d0762adf151e452663e (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions