[Ocfs2-devel] Initialize count in aio_write before generic_write_checks

Joel Becker Joel.Becker at oracle.com
Mon Jul 20 17:27:48 PDT 2009


On Sat, Jul 11, 2009 at 10:57:27AM -0500, Goldwyn Rodrigues wrote:
> 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 in uninitialized.
> 
> Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>

This is now in the fixes branch of ocfs2.git

Joel

-- 

Life's Little Instruction Book #237

	"Seek out the good in people."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list