diff options
author | 2016-01-21 15:56:00 +0530 | |
---|---|---|
committer | 2016-02-01 19:24:29 +0100 | |
commit | 5f4dc8fc835bbb902f5c2aa3de3978f3f518aa73 (patch) | |
tree | 8ea4c13c613e02a98a17271197790266ea6286bc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: Use (eb->start, seq) as search key for tree modification log (diff) | |
download | wireguard-linux-5f4dc8fc835bbb902f5c2aa3de3978f3f518aa73.tar.xz wireguard-linux-5f4dc8fc835bbb902f5c2aa3de3978f3f518aa73.zip |
Btrfs: btrfs_submit_direct_hook: Handle map_length < bio vector length
In subpagesize-blocksize scenario, map_length can be less than the length of a
bio vector. Such a condition may cause btrfs_submit_direct_hook() to submit a
zero length bio. Fix this by comparing map_length against block size rather
than with bv_len.
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions