]> Pileus Git - ~andy/linux/blobdiff - net/9p/trans_rdma.c
net/9p: handle correctly interrupted 9P requests
[~andy/linux] / net / 9p / trans_rdma.c
index 2f1fe5fc1228273cce9b23b9a8a2cd31e184ec31..ac4990041ebb94d9935126f4cd76430fb7fa7201 100644 (file)
@@ -295,6 +295,7 @@ handle_recv(struct p9_client *client, struct p9_trans_rdma *rdma,
                goto err_out;
 
        req->rc = c->rc;
+       req->status = REQ_STATUS_RCVD;
        p9_client_cb(client, req);
 
        return;
@@ -528,8 +529,6 @@ static void rdma_close(struct p9_client *client)
 
 /**
  * alloc_rdma - Allocate and initialize the rdma transport structure
- * @msize: MTU
- * @dotu: Extension attribute
  * @opts: Mount options structure
  */
 static struct p9_trans_rdma *alloc_rdma(struct p9_rdma_opts *opts)