diff options
author | 2009-07-24 11:06:53 -0400 | |
---|---|---|
committer | 2009-07-24 11:22:47 -0400 | |
commit | 0a4eefbb745ec0e8a5b694ae3f40cc34082d8f61 (patch) | |
tree | b8c144c52f2725fa05325f282d8d2e4edc2e7181 /tools/perf/builtin-sched.c | |
parent | Btrfs: find_free_dev_extent doesn't handle holes at the start of the device (diff) | |
download | wireguard-linux-0a4eefbb745ec0e8a5b694ae3f40cc34082d8f61.tar.xz wireguard-linux-0a4eefbb745ec0e8a5b694ae3f40cc34082d8f61.zip |
Btrfs: Fix ordering of key field checks in btrfs_previous_item
Check objectid of item before checking the item type, otherwise we may return
zero for a key that is actually too low.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'tools/perf/builtin-sched.c')
0 files changed, 0 insertions, 0 deletions