]> git.baikalelectronics.ru Git - kernel.git/commit
ext3: Truncate allocated blocks if direct IO write fails to update i_size
authorJan Kara <jack@suse.cz>
Mon, 1 Mar 2010 13:02:37 +0000 (14:02 +0100)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:27 +0000 (00:20 +0100)
commit0e445fab7bdd84a865fa67d5abbe2f3b718de6aa
treeac093841df6abbe2d517af6656b149ad42536648
parent1e1a9a8f3679f1af0d8ffdeaa25a4c1f3347c7df
ext3: Truncate allocated blocks if direct IO write fails to update i_size

We have to truncate blocks allocated to file during direct IO when we
fail to update i_size properly.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/inode.c