ocfs2: Initialize count in aio_write before generic_write_checks
authorGoldwyn Rodrigues <rgoldwyn@gmail.com>
Sat, 11 Jul 2009 15:57:27 +0000 (10:57 -0500)
committerJoel Becker <joel.becker@oracle.com>
Mon, 20 Jul 2009 22:47:58 +0000 (15:47 -0700)
generic_write_checks() expects count to be initialized to the size of
the write.  Writes to files open with O_DIRECT|O_LARGEFILE write 0 bytes
because count is uninitialized.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>

No differences found