diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2016-01-20 14:59:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-20 17:09:18 -0800 |
commit | 16fab2015099a937e1a771f2785c5dd3445fe483 (patch) | |
tree | ae61dae3b71d44c4d1de3be2b5ff9e45c71260f5 /fs/fat/dir.c | |
parent | 7e0f236b5b9cc23aa004eb58ee2201f294d0422a (diff) | |
download | linux-16fab2015099a937e1a771f2785c5dd3445fe483.tar.gz linux-16fab2015099a937e1a771f2785c5dd3445fe483.tar.bz2 linux-16fab2015099a937e1a771f2785c5dd3445fe483.zip |
fat: permit to return phy block number by fibmap in fallocated region
Make the fibmap call return the proper physical block number for any
offset request in the fallocated range.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/dir.c')
-rw-r--r-- | fs/fat/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 8b2127ffb226..7def96caec5f 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -91,7 +91,7 @@ next: *bh = NULL; iblock = *pos >> sb->s_blocksize_bits; - err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0); + err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0, false); if (err || !phys) return -1; /* beyond EOF or error */ |