Commit 46442b85 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC/xprtrdma: Convert GFP_NOFS to GFP_KERNEL

Assume that the upper layers have set memalloc_nofs_save/restore as
appropriate.
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 4c2883e7
...@@ -130,7 +130,7 @@ int frwr_mr_init(struct rpcrdma_xprt *r_xprt, struct rpcrdma_mr *mr) ...@@ -130,7 +130,7 @@ int frwr_mr_init(struct rpcrdma_xprt *r_xprt, struct rpcrdma_mr *mr)
if (IS_ERR(frmr)) if (IS_ERR(frmr))
goto out_mr_err; goto out_mr_err;
sg = kmalloc_array(depth, sizeof(*sg), GFP_NOFS); sg = kmalloc_array(depth, sizeof(*sg), GFP_KERNEL);
if (!sg) if (!sg)
goto out_list_err; goto out_list_err;
......
...@@ -373,7 +373,7 @@ static int rpcrdma_ep_create(struct rpcrdma_xprt *r_xprt) ...@@ -373,7 +373,7 @@ static int rpcrdma_ep_create(struct rpcrdma_xprt *r_xprt)
struct rpcrdma_ep *ep; struct rpcrdma_ep *ep;
int rc; int rc;
ep = kzalloc(sizeof(*ep), GFP_NOFS); ep = kzalloc(sizeof(*ep), GFP_KERNEL);
if (!ep) if (!ep)
return -ENOTCONN; return -ENOTCONN;
ep->re_xprt = &r_xprt->rx_xprt; ep->re_xprt = &r_xprt->rx_xprt;
...@@ -746,7 +746,7 @@ rpcrdma_mrs_create(struct rpcrdma_xprt *r_xprt) ...@@ -746,7 +746,7 @@ rpcrdma_mrs_create(struct rpcrdma_xprt *r_xprt)
struct rpcrdma_mr *mr; struct rpcrdma_mr *mr;
int rc; int rc;
mr = kzalloc(sizeof(*mr), GFP_NOFS); mr = kzalloc(sizeof(*mr), GFP_KERNEL);
if (!mr) if (!mr)
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment