]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: fix the ->direct_IO() treatment of iov_iter
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 17 Sep 2020 21:26:56 +0000 (17:26 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 17 Sep 2020 21:26:56 +0000 (17:26 -0400)
commit9288fb42f7fe5f13dac13235be7fdcbe1b536971
tree96601b8d822245cdd53e8fc4259cfab8feaa4bc7
parent606ab47deca3f69e9219890b513ca6d1401f7c57
fuse: fix the ->direct_IO() treatment of iov_iter

the callers rely upon having any iov_iter_truncate() done inside
->direct_IO() countered by iov_iter_reexpand().

Reported-by: Qian Cai <cai@redhat.com>
Tested-by: Qian Cai <cai@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fuse/file.c