Merge tag '9p-for-5.20' of https://github.com/martinetd/linux
[sfrench/cifs-2.6.git] / net / 9p / trans_virtio.c
index 2a210c2f8e403e29f018d8aa8cdb6db380abc7c4..03770addaa5c98deff40435094bcdfe53b828c0a 100644 (file)
@@ -199,7 +199,7 @@ static int p9_virtio_cancel(struct p9_client *client, struct p9_req_t *req)
 /* Reply won't come, so drop req ref */
 static int p9_virtio_cancelled(struct p9_client *client, struct p9_req_t *req)
 {
-       p9_req_put(req);
+       p9_req_put(client, req);
        return 0;
 }
 
@@ -557,7 +557,7 @@ err_out:
        kvfree(out_pages);
        if (!kicked) {
                /* reply won't come */
-               p9_req_put(req);
+               p9_req_put(client, req);
        }
        return err;
 }