]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fallocate: Work with sectorsized blocks
authorChandan Rajendra <chandan@linux.vnet.ibm.com>
Thu, 21 Jan 2016 10:25:56 +0000 (15:55 +0530)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Feb 2016 18:24:29 +0000 (19:24 +0100)
commit62ac000446dcb69b87075794a83975ed72bc882e
treea5c16ac426d6495af1811eb87f3e5e07fbaaacc1
parent0d7f6591c400c4e34957cea7b42293569e192dce
Btrfs: fallocate: Work with sectorsized blocks

While at it, this commit changes btrfs_truncate_page() to truncate sectorsized
blocks instead of pages. Hence the function has been renamed to
btrfs_truncate_block().

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/file.c
fs/btrfs/inode.c