]> git.karo-electronics.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>
Mon, 19 May 2014 07:35:06 +0000 (17:35 +1000)
commit1ff2ce7469ab24dd15046c5d0c0d5b14a6bf9fcd
tree0bcd73a152813d06778462dedf0e27f9c588b0e3
parent1e31cfaee680bb7dfa255fd4030c68a198309fd0
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