]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
fat: skip cluster allocation on fallocated region
authorNamjae Jeon <namjae.jeon@samsung.com>
Wed, 20 Jan 2016 22:59:43 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit7e0f236b5b9cc23aa004eb58ee2201f294d0422a
treea498bfee3166a58c349a27249b2304d03600a68a
parentb13bb33eacb7266d66a3adf03adaa0886d091789
fat: skip cluster allocation on fallocated region

Skip new cluster allocation after checking i_blocks limit in _fat_get_block,
because the blocks are already allocated in fallocated region.

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>
fs/fat/inode.c