diff options
author | Tao Ma <boyu.mt@taobao.com> | 2012-06-01 04:54:16 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-06-01 04:54:16 +0200 |
commit | 9660755100ae7677d65772a28e16d475a2ee9eab (patch) | |
tree | b7192f775c46add4ad1b96d8c766ce236aec872f /virt/kvm/async_pf.c | |
parent | ext4: add missing save_error_info() to ext4_error() (diff) | |
download | linux-9660755100ae7677d65772a28e16d475a2ee9eab.tar.xz linux-9660755100ae7677d65772a28e16d475a2ee9eab.zip |
ext4: let getattr report the right blocks in delalloc+bigalloc
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>
Diffstat (limited to 'virt/kvm/async_pf.c')
0 files changed, 0 insertions, 0 deletions