diff options
author | Josef Bacik <josef@redhat.com> | 2011-02-02 02:52:47 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-03 03:03:20 +0300 |
commit | d54cdc8ca7aabc69e145a62155855db42b04ed0b (patch) | |
tree | e184aed1d4c05e1df482dbf4b669723e31a841e1 /crypto/async_tx | |
parent | 3cd90ea42f2c15f928b70ed66f6d8ed0a8e7aadd (diff) | |
download | linux-d54cdc8ca7aabc69e145a62155855db42b04ed0b.tar.xz |
fs: make block fiemap mapping length at least blocksize long
Some filesystems don't deal well with being asked to map less than
blocksize blocks (GFS2 for example). Since we are always mapping at least
blocksize sections anyway, just make sure len is at least as big as a
blocksize so we don't trip up any filesystems. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions