]> 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)
commitcaa352e5c0790195e7efff8793c2eb1d0a15a0bc
tree41489943ca4e812f3276b2f802d4c58703507785
parent222cff265467292c9caf6ba5f522dbbc80651d34
fix 'direction' argument of iov_iter_{init,bvec}()

[ Upstream commit df35be5a914d3096b1366eae4ca5b1d6aa4d243c ]

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

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