diff options
author | 2011-11-20 07:33:38 -0500 | |
---|---|---|
committer | 2011-11-20 07:42:15 -0500 | |
commit | fadc0d8be4dfca80f6c568bc5874931893c6709b (patch) | |
tree | a73dd18819b86cc14a1f01a7f58e34d94b8d84da /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Btrfs: avoid unnecessary bitmap search for cluster setup (diff) | |
download | wireguard-linux-fadc0d8be4dfca80f6c568bc5874931893c6709b.tar.xz wireguard-linux-fadc0d8be4dfca80f6c568bc5874931893c6709b.zip |
btrfs: fix stat blocks accounting
Round inode bytes and delalloc bytes up to real blocksize before
converting to sector size. Otherwise eg. files smaller than 512
are reported with zero blocks due to incorrect rounding.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions