From: Goldwyn Rodrigues Date: Sat, 11 Jul 2009 15:57:27 +0000 (-0500) Subject: ocfs2: Initialize count in aio_write before generic_write_checks X-Git-Tag: v2.6.31-rc6~5^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cefcb800fa9536bb6f29485c53e6c82a65b0c022;p=pandora-kernel.git 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 Signed-off-by: Joel Becker --- Reading git-diff-tree failed