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:
f3fc021
)
ext4: let getattr report the right blocks in delalloc+bigalloc
author
Tao Ma
<boyu.mt@taobao.com>
Fri, 1 Jun 2012 02:54:16 +0000
(22:54 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 1 Jun 2012 02:54:16 +0000
(22:54 -0400)
In delayed allocation, i_reserved_data_blocks now indicates
clusters, not blocks. So report it in the right number.
This can be easily exposed by the following command:
echo foo > blah; du -hc blah; sync; du -hc blah
Reported-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c
patch
|
blob
|
history
diff --cc
fs/ext4/inode.c
Simple merge