summaryrefslogtreecommitdiff
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
authorXiaoguang Wang <wangxg.fnst@cn.fujitsu.com>2014-07-28 06:26:36 +0400
committerTheodore Ts'o <tytso@mit.edu>2014-07-28 06:26:36 +0400
commitb27b1535acc0e97b7435bccf205b3fe9c782afac (patch)
tree0bd7468d36828c1f7b28d7e60b7a4673e941d402 /drivers/scsi/hosts.c
parent83447ccb4df6e6051027bedff2a8cfc6a52ebcf8 (diff)
downloadlinux-b27b1535acc0e97b7435bccf205b3fe9c782afac.tar.xz
ext4: fix wrong size computation in ext4_mb_normalize_request()
As the member fe_len defined in struct ext4_free_extent is expressed as number of clusters, the variable "size" computation is wrong, we need to first translate fe_len to block number, then to bytes. Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Diffstat (limited to 'drivers/scsi/hosts.c')
0 files changed, 0 insertions, 0 deletions