ocfs2: Remove obscure error handling in direct_write.
authorTao Ma <tao.ma@oracle.com>
Wed, 9 Jun 2010 08:48:59 +0000 (16:48 +0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 10 Sep 2010 15:38:52 +0000 (08:38 -0700)
commit95fa859a268fd7d9bae6f2d4d095e3f61100ac1b
tree93d006d3ac6e848c47ae5e3a3155e001d5bf42d7
parent3c3f20c9813391ba4004764072989744395cf405
ocfs2: Remove obscure error handling in direct_write.

In ocfs2, actually we don't allow any direct write pass i_size,
see the function ocfs2_prepare_inode_for_write. So we don't
need the bogus simple_setsize.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/file.c