]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fat: fallback to buffered write in case of fallocated region on direct IO
authorNamjae Jeon <namjae.jeon@samsung.com>
Sat, 17 May 2014 13:19:31 +0000 (23:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 May 2014 07:11:40 +0000 (17:11 +1000)
commitf0a7894ed39b87b0641c88e88d333a43a8d61908
treef60072b032643577d8944a08be4b3db93b7fa0f6
parentc8dc62168b3ea61e66d8b86d16e768148ef9a20f
fat: fallback to buffered write in case of fallocated region on direct IO

For normal cases of direct IO write, trying to seek to location greater
than file size, makes it fall back to buffered write to fill that region.
Similarly, in case for write in Fallocated region, make it fall to
buffered write.

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