commit | cefcb800fa9536bb6f29485c53e6c82a65b0c022 | [log] [tgz] |
---|---|---|
author | Goldwyn Rodrigues <rgoldwyn@gmail.com> | Sat Jul 11 10:57:27 2009 -0500 |
committer | Joel Becker <joel.becker@oracle.com> | Mon Jul 20 15:47:58 2009 -0700 |
tree | 2ec23ec56afc83b0462d1ea141b13fd615962e41 | |
parent | 812e7a6a43fc34bc8f70c2b80db4ea5997d66ea8 [diff] |
ocfs2: Initialize count in aio_write before generic_write_checks 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>