https://github.com/torvalds/linux
Revision fadc0d8be4dfca80f6c568bc5874931893c6709b authored by David Sterba on 20 November 2011, 12:33:38 UTC, committed by Chris Mason on 20 November 2011, 12:42:15 UTC
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>
1 parent 52621cb
History
Tip revision: fadc0d8be4dfca80f6c568bc5874931893c6709b authored by David Sterba on 20 November 2011, 12:33:38 UTC
btrfs: fix stat blocks accounting
Tip revision: fadc0d8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.7 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top