]> git.itanic.dy.fi Git - linux-stable/commit
[PATCH] FAT: DIO-write fallback to normal buffered
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tue, 20 Feb 2007 21:57:55 +0000 (13:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:14 +0000 (17:10 -0800)
commit94412a96c4553255bda7a232a349059dd7543338
treebfffad25e95f33503b4d212b6670885262084b11
parent346fd59bab28093276be102632f72691a2c243fe
[PATCH] FAT: DIO-write fallback to normal buffered

If the DIO write on FAT is expanding the size, it will be fail by -EINVAL,
because FAT can't handle it now.

This patch fallback it to the normal buffered-write and would return
success.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fat/inode.c