summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-07-30 07:18:48 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-08-01 02:35:51 -0400
commitaf436472772d474acfad724ce789e003d1ca41c3 (patch)
tree282f8b70abda0aa10827d4237cee4c408260748c /net/ieee802154
parent6f0928036bcbd8dd2ebee9201580da8bcc0a81af (diff)
downloadlinux-next-af436472772d474acfad724ce789e003d1ca41c3.tar.gz
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 <hch@lst.de> Reported-by: Tim Chen <tim.c.chen@linux.intel.com> Tested-by: Tim Chen <tim.c.chen@linux.intel.com>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions