]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fat: fallback to buffered write in case of fallocatded region on direct IO
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 3 Jan 2014 03:10:25 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:25 +0000 (14:10 +1100)
commitd8feeea359a9b5e06e099f8955bc0390d696e6de
tree211c4b839b5d2b29b7dad8f0e03eba6df5680c7e
parente8659a1973313543e4549289f8829115a69ecb04
fat: fallback to buffered write in case of fallocatded 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