summaryrefslogtreecommitdiff
path: root/tools/lguest
diff options
context:
space:
mode:
authorAshish Samant <ashish.samant@oracle.com>2016-03-15 04:57:35 (GMT)
committerMiklos Szeredi <miklos@szeredi.hu>2016-03-16 13:38:31 (GMT)
commit742f992708dff0ada8b426228900ffb009c7167b (patch)
treedc353b2630af0a033d024f9c96e57027a1edd092 /tools/lguest
parent744742d692e37ad5c20630e57d526c8f2e2fe3c9 (diff)
downloadlinux-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 'tools/lguest')
0 files changed, 0 insertions, 0 deletions