Btrfs: Count space allocated to file in bytes
authorYan Zheng <zheng.yan@oracle.com>
Thu, 9 Oct 2008 15:46:29 +0000 (11:46 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 9 Oct 2008 15:46:29 +0000 (11:46 -0400)
This patch makes btrfs count space allocated to file in bytes instead
of 512 byte sectors.

Everything else in btrfs uses a byte count instead of sector sizes or
blocks sizes, so this fits better.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/tree-log.c

Simple merge
Simple merge
diff --cc fs/btrfs/file.c
Simple merge
Simple merge
Simple merge
Simple merge