diff options
| -rw-r--r-- | net/9p/trans_virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 91981970f542..b1d39cabf125 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c | |||
| @@ -329,7 +329,7 @@ static int p9_get_mapped_pages(struct virtio_chan *chan, | |||
| 329 | if (!iov_iter_count(data)) | 329 | if (!iov_iter_count(data)) |
| 330 | return 0; | 330 | return 0; |
| 331 | 331 | ||
| 332 | if (iov_iter_is_kvec(data)) { | 332 | if (!iov_iter_is_kvec(data)) { |
| 333 | int n; | 333 | int n; |
| 334 | /* | 334 | /* |
| 335 | * We allow only p9_max_pages pinned. We wait for the | 335 | * We allow only p9_max_pages pinned. We wait for the |
