diff options
author | Chandan Rajendra <chandan@linux.vnet.ibm.com> | 2016-01-21 15:56:01 +0530 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-02-01 19:24:29 +0100 |
commit | 0c29ba993e4b08771deb20f8717a4b57cc7e678b (patch) | |
tree | 78f0190cfc726cfc63c154f2b64945147bcfd71c /fs/omfs | |
parent | 5f4dc8fc835bbb902f5c2aa3de3978f3f518aa73 (diff) | |
download | op-kernel-dev-0c29ba993e4b08771deb20f8717a4b57cc7e678b.zip op-kernel-dev-0c29ba993e4b08771deb20f8717a4b57cc7e678b.tar.gz |
Btrfs: Limit inline extents to root->sectorsize
cow_file_range_inline() limits the size of an inline extent to
PAGE_CACHE_SIZE. This breaks in subpagesize-blocksize scenarios. Fix this by
comparing against root->sectorsize.
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/omfs')
0 files changed, 0 insertions, 0 deletions