WSL2-Linux-Kernel/fs/fuse
Ashish Samant 742f992708 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>
2016-03-16 14:38:31 +01:00
..
Kconfig fuse: Move CUSE Kconfig entry from fs/Kconfig into fs/fuse/Kconfig 2013-01-17 13:08:45 +01:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00
control.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
cuse.c fuse: Add reference counting for fuse_io_priv 2016-03-14 15:02:51 +01:00
dev.c fs/fuse: fix ioctl type confusion 2015-08-16 12:35:44 -07:00
dir.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
file.c fuse: return patrial success from fuse_direct_io() 2016-03-16 14:38:31 +01:00
fuse_i.h fuse: Add reference counting for fuse_io_priv 2016-03-14 15:02:51 +01:00
inode.c kmemcg: account certain kmem allocations to memcg 2016-01-14 16:00:49 -08:00