aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2014-07-30 11:18:48 +0000
committerAl Viro <[email protected]>2014-08-01 06:35:51 +0000
commitaf436472772d474acfad724ce789e003d1ca41c3 (patch)
tree282f8b70abda0aa10827d4237cee4c408260748c /lib/mpi/mpi-cmp.c
parentMerge tag 'pm+acpi-3.16-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-af436472772d474acfad724ce789e003d1ca41c3.tar.gz
kernel-af436472772d474acfad724ce789e003d1ca41c3.zip
direct-io: fix AIO regression
The direct-io.c rewrite to use the iov_iter infrastructure stopped updating the size field in struct dio_submit, and thus rendered the check for allowing asynchronous completions to always return false. Fix this by comparing it to the count of bytes in the iov_iter instead. Signed-off-by: Christoph Hellwig <[email protected]> Reported-by: Tim Chen <[email protected]> Tested-by: Tim Chen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions