]> git.baikalelectronics.ru Git - kernel.git/commit
fix 'direction' argument of iov_iter_{init,bvec}()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 15 Sep 2022 23:09:39 +0000 (19:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:03 +0000 (11:28 +0100)
commitb1311a46aef17301cccb3e2f1e014e4d32d8af3d
tree41489943ca4e812f3276b2f802d4c58703507785
parent58bb13bc745e76bffbd8d36c6dbc7e7e6cdf078a
fix 'direction' argument of iov_iter_{init,bvec}()

[ Upstream commit e3bf3df824675ea9cadc3cd2c75d08ee83a6ae26 ]

READ means "data destination", WRITE - "data source".

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Stable-dep-of: 6dd88fd59da8 ("vhost-scsi: unbreak any layout for response")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/vhost/vhost.c
drivers/vhost/vringh.c