diff options
author | Ashish Samant <ashish.samant@oracle.com> | 2016-03-15 04:57:35 (GMT) |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2016-03-16 13:38:31 (GMT) |
commit | 742f992708dff0ada8b426228900ffb009c7167b (patch) | |
tree | dc353b2630af0a033d024f9c96e57027a1edd092 /net/sunrpc/addr.c | |
parent | 744742d692e37ad5c20630e57d526c8f2e2fe3c9 (diff) | |
download | linux-742f992708dff0ada8b426228900ffb009c7167b.tar.xz |
fuse: return patrial success from fuse_direct_io()
If a user calls writev/readv in direct io mode with partially valid data
in the iovec array such that any vector other than the first one in the
array contains invalid data, we currently return the error for the invalid
iovec.
Instead, we should return the number of bytes already written/read and not
the error as we do in the non direct_io case.
Reported-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: Ashish Samant <ashish.samant@oracle.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'net/sunrpc/addr.c')
0 files changed, 0 insertions, 0 deletions