diff options
| author | Akinobu Mita <[email protected]> | 2013-11-18 22:13:18 +0900 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2013-11-20 20:48:44 -0500 |
| commit | 475bf36ffba2ad18631865a2429468dc6c7ea919 (patch) | |
| tree | f7e0f94e4def76598b66861e9a9820b9ab86517d /tools/testing/radix-tree/linux/kernel.h | |
| parent | 4cd8587ce8fb79e49d1d6d1fc065f056188fb86a (diff) | |
btrfs: fix bio_size_ok() for max_sectors > 0xffff
The data type of max_sectors in queue settings is unsigned int. But
this value is stored to the local variable whose type is unsigned short
in bio_size_ok(). This can cause unexpected result when max_sectors >
0xffff.
Cc: Chris Mason <[email protected]>
Cc: [email protected]
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions