Skip to content

Commit ed61a13

Browse files
committed
Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull 9p fix from Al Viro: "Regression fix for net/9p handling of iov_iter; broken by braino when switching to iov_iter_is_kvec() et.al., spotted and fixed by Marc" * 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: iov_iter: Fix 9p virtio breakage
2 parents af102b3 + 2cbfdf4 commit ed61a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/9p/trans_virtio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static int p9_get_mapped_pages(struct virtio_chan *chan,
329329
if (!iov_iter_count(data))
330330
return 0;
331331

332-
if (iov_iter_is_kvec(data)) {
332+
if (!iov_iter_is_kvec(data)) {
333333
int n;
334334
/*
335335
* We allow only p9_max_pages pinned. We wait for the

0 commit comments

Comments
 (0)