ocfs2: fix a typing error in ocfs2_direct_IO_write
authorJoseph Qi <joseph.qi@huawei.com>
Tue, 14 Apr 2015 22:43:05 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:57 +0000 (16:48 -0700)
commitbdd86215b393b743be34b854299c6cda7cbb361c
treeb20472a25f4e5aaf0bfe5990783e0c0511733220
parent7a8346429d6da4039a4687a8a07f3f8cdaf96d92
ocfs2: fix a typing error in ocfs2_direct_IO_write

Only when direct IO succeeds we need consider zeroing out in case of
cluster not aligned.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/aops.c