]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: fix some key handling problems in _btree_simple_query_range
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 26 Aug 2016 01:16:52 +0000 (11:16 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 26 Aug 2016 01:16:52 +0000 (11:16 +1000)
commit94a22dec9f48ecbe1307309ea02784d2d899b7d8
treefe2d01ad5436fca3b99fb4eabc7e5989d8a51992
parent574b41535bd2b2a07b5ffdf466a6bb4585907f3e
xfs: fix some key handling problems in _btree_simple_query_range

We only need the record's high key for the first record that we look
at; for all records, we /definitely/ need the regular record key.
Therefore, fix how the simple range query function gets its keys.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_btree.c