summaryrefslogtreecommitdiffstats
path: root/mm/fadvise.c
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@gmail.com>2009-07-11 17:57:27 +0200
committerJoel Becker <joel.becker@oracle.com>2009-07-21 00:47:58 +0200
commitcefcb800fa9536bb6f29485c53e6c82a65b0c022 (patch)
tree2ec23ec56afc83b0462d1ea141b13fd615962e41 /mm/fadvise.c
parentocfs2: log the actual return value of ocfs2_file_aio_write() (diff)
downloadlinux-cefcb800fa9536bb6f29485c53e6c82a65b0c022.tar.xz
linux-cefcb800fa9536bb6f29485c53e6c82a65b0c022.zip
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>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions