summaryrefslogtreecommitdiffstats
path: root/usr/initramfs_data.S
diff options
context:
space:
mode:
authorGerhard Heift <gerhard@heift.name>2014-01-30 16:23:57 +0100
committerChris Mason <clm@fb.com>2014-06-12 18:20:39 -0700
commit25c9bc2e2bc9d67de7fc49ff2784cae5de755192 (patch)
treefe51f95796bd4e6126c70bcc48e01ed08add3f57 /usr/initramfs_data.S
parentc7548af69d9ef71512eb52d8009521eba3e768fd (diff)
btrfs: tree_search: eliminate redundant nr_items check
If the amount of items reached the given limit of nr_items, we can leave copy_to_sk without updating the key. Also by returning 1 we leave the loop in search_ioctl without rechecking if we reached the given limit. Signed-off-by: Gerhard Heift <Gerhard@Heift.Name> Signed-off-by: Chris Mason <clm@fb.com> Acked-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions