summaryrefslogtreecommitdiff
path: root/kerncompat.h
diff options
context:
space:
mode:
authorChandan Rajendra <chandan@linux.vnet.ibm.com>2015-12-15 15:32:00 +0530
committerDavid Sterba <dsterba@suse.com>2016-01-12 15:01:04 +0100
commitf0eae29843a95cb10d9c5f8c03f77e6b74eda656 (patch)
tree50620570ba1f809b877f2a9606ed7f6e6eb2d435 /kerncompat.h
parent5a657cad467a601bbef49b0ab79f30cd23a53dfe (diff)
btrfs-progs: ftw_add_entry_size: Round up file size to sectorsize
ftw_add_entry_size() assumes 4k as the block size of the underlying filesystem and hence the file sizes computed is incorrect for non-4k sectorsized filesystems. Fix this by rounding up file sizes to sectorsize. Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kerncompat.h')
0 files changed, 0 insertions, 0 deletions