diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-04-25 18:37:06 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-04-27 10:47:19 -0700 |
commit | 5b7ca8b313621907d80460bfcc1fa876d2a38488 (patch) | |
tree | a2f4bb85fcc4325e2091446877c81a3a4b8a38d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c46eef34830e51ae7fe4b8371837c586448c3078 (diff) |
xfs: simplify xfs_rmap_lookup_le call sites
Most callers of xfs_rmap_lookup_le will retrieve the btree record
immediately if the lookup succeeds. The overlapped version of this
function (xfs_rmap_lookup_le_range) will return the record if the lookup
succeeds, so make the regular version do it too. Get rid of the useless
len argument, since it's not part of the lookup key.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions