commit | d0b7da88f6409c740435712b092a8e2c7d2a8f74 | [log] [tgz] |
---|---|---|
author | Chandan Rajendra <chandan@linux.vnet.ibm.com> | Thu Jan 21 15:55:57 2016 +0530 |
committer | David Sterba <dsterba@suse.com> | Mon Feb 01 19:24:29 2016 +0100 |
tree | e46c6e2d75f7290188e4bec6d9f37b119aaff554 | |
parent | 9703fefe0b137bb4475187b5d82ec5823445616b [diff] |
Btrfs: btrfs_page_mkwrite: Reserve space in sectorsized units In subpagesize-blocksize scenario, if i_size occurs in a block which is not the last block in the page, then the space to be reserved should be calculated appropriately. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: David Sterba <dsterba@suse.com>