commit | f7b49c5d57669dee419fe2ef926da0aea84d46eb | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Thu Jan 06 14:13:25 2022 -0800 |
committer | Darrick J. Wong <djwong@kernel.org> | Mon Apr 18 21:04:11 2022 -0700 |
tree | 1ffe0118e26089608df5954503ff98462cefb561 | |
parent | b63dec0d8d23b6dab42f32dc2f1c04fe2bde422f [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>