]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: fix a typing error in ocfs2_direct_IO_write
authorJoseph Qi <joseph.qi@huawei.com>
Tue, 7 Apr 2015 23:43:52 +0000 (09:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:43:52 +0000 (09:43 +1000)
commit78da9ff1c56a621a398e93b6139e1b404af8e428
tree8bf398d68519afbcaa6678d6ddb3c15bd6fb86eb
parent5ee834d20155fd09e00a470f50593f071f7e0a2f
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>
fs/ocfs2/aops.c