xprtrdma: Update comments in frwr_op_send
authorChuck Lever <chuck.lever@oracle.com>
Wed, 19 Dec 2018 16:00:27 +0000 (11:00 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Jan 2019 17:05:18 +0000 (12:05 -0500)
Commit f2877623082b ("xprtrdma: Chain Send to FastReg WRs") was
written before commit ce5b37178283 ("xprtrdma: Replace all usage of
"frmr" with "frwr""), but was merged afterwards. Thus it still
refers to FRMR and MWs.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/frwr_ops.c

index 8a0f1a6..35c8f62 100644 (file)
@@ -479,7 +479,7 @@ out_mapmr_err:
  * @ia: interface adapter
  * @req: Prepared RPC Call
  *
- * For FRMR, chain any FastReg WRs to the Send WR. Only a
+ * For FRWR, chain any FastReg WRs to the Send WR. Only a
  * single ib_post_send call is needed to register memory
  * and then post the Send WR.
  *
@@ -507,7 +507,7 @@ int frwr_send(struct rpcrdma_ia *ia, struct rpcrdma_req *req)
        }
 
        /* If ib_post_send fails, the next ->send_request for
-        * @req will queue these MWs for recovery.
+        * @req will queue these MRs for recovery.
         */
        return ib_post_send(ia->ri_id->qp, post_wr, NULL);
 }