git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83447cc
)
ext4: fix wrong size computation in ext4_mb_normalize_request()
author
Xiaoguang Wang
<wangxg.fnst@cn.fujitsu.com>
Mon, 28 Jul 2014 02:26:36 +0000
(22:26 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 28 Jul 2014 02:26:36 +0000
(22:26 -0400)
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>
fs/ext4/mballoc.c
patch
|
blob
|
history
diff --cc
fs/ext4/mballoc.c
Simple merge