diff options
author | Vinothkumar Raja <[email protected]> | 2017-04-06 22:09:38 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2017-04-24 14:47:49 -0400 |
commit | 7d1fedb6e96a960aa91e4ff70714c3fb09195a5a (patch) | |
tree | 05e10eb320014e8e5f98083343bd9135eb18ff28 /net/unix/sysctl_net_unix.c | |
parent | e36215d87f301f9567c8c99fd34e6c3521a94ddf (diff) |
dm btree: fix for dm_btree_find_lowest_key()
dm_btree_find_lowest_key() is giving incorrect results. find_key()
traverses the btree correctly for finding the highest key, but there is
an error in the way it traverses the btree for retrieving the lowest
key. dm_btree_find_lowest_key() fetches the first key of the rightmost
block of the btree instead of fetching the first key from the leftmost
block.
Fix this by conditionally passing the correct parameter to value64()
based on the @find_highest flag.
Cc: [email protected]
Signed-off-by: Erez Zadok <[email protected]>
Signed-off-by: Vinothkumar Raja <[email protected]>
Signed-off-by: Nidhi Panpalia <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions