summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2013-11-18 14:13:18 +0100
committerChris Mason <chris.mason@fusionio.com>2013-11-21 02:48:44 +0100
commit475bf36ffba2ad18631865a2429468dc6c7ea919 (patch)
treef7e0f94e4def76598b66861e9a9820b9ab86517d /Documentation
parentbtrfs: Use trace condition for get_extent tracepoint (diff)
downloadlinux-475bf36ffba2ad18631865a2429468dc6c7ea919.tar.xz
linux-475bf36ffba2ad18631865a2429468dc6c7ea919.zip
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 <chris.mason@fusionio.com> Cc: linux-btrfs@vger.kernel.org Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions