btrfs-progs: Replace hardcoded PAGE_CACHE_SIZE with sectorsize.
authorFeifei Xu <xufeifei@linux.vnet.ibm.com>
Thu, 10 Mar 2016 08:43:20 +0000 (16:43 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2016 12:42:47 +0000 (13:42 +0100)
commitb025392ffca98b3a74947cf8f772535cf8bfceb3
treec17e801e2f4bbbc12b10de3075e4a030e897305c
parent378e12701a26dc256cd5aba1406020ea739ca4c9
btrfs-progs: Replace hardcoded PAGE_CACHE_SIZE with sectorsize.

PAGE_CACHE_SIZE is hardcoded to 4K in cmds-restore.c. Correct
value should be sector size. Fix this through replacing
hardcoded 4K to sectorsize.

Signed-off-by: Feifei Xu <xufeifei@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-restore.c