ext4: Remove wait for unwritten extents in ext4_ind_direct_IO()
authorJan Kara <jack@suse.cz>
Tue, 4 Jun 2013 18:41:29 +0000 (14:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Jun 2013 18:41:29 +0000 (14:41 -0400)
commit38b8ff7db4d99ebfabaee81b8747877424d1cf28
tree0d2be50e387d1bc8b750da456c7e15bb7d81b024
parent92e6222dfb85db780ebd8caea6a3f9326c375bc0
ext4: Remove wait for unwritten extents in ext4_ind_direct_IO()

We don't have to wait for unwritten extent conversion in
ext4_ind_direct_IO() as all writes that happened before DIO are
flushed by the generic code and extent conversion has happened before
we cleared PageWriteback bit.

Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/indirect.c