diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-05-16 13:30:35 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-16 13:37:14 -0400 |
commit | 6b34309936ed5c85cbe5868655814065f42c2f38 (patch) | |
tree | cf5ac1d01577fe1190a4adc341c5f631026e5189 /net | |
parent | 5f23eff3814e9d255464e7a03dba47c27069ac78 (diff) |
sunrpc: suppress page allocation warnings in xprt_alloc_slot()
It's easily possible for these allocations to fail since we're using
GFP_NOWAIT here. We don't want to spam the logs with warnings about
that though.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 0cbcd1ab49ab..b239e75c483f 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -979,7 +979,7 @@ static void xprt_alloc_slot(struct rpc_task *task) | |||
979 | list_del(&req->rq_list); | 979 | list_del(&req->rq_list); |
980 | goto out_init_req; | 980 | goto out_init_req; |
981 | } | 981 | } |
982 | req = xprt_dynamic_alloc_slot(xprt, GFP_NOWAIT); | 982 | req = xprt_dynamic_alloc_slot(xprt, GFP_NOWAIT|__GFP_NOWARN); |
983 | if (!IS_ERR(req)) | 983 | if (!IS_ERR(req)) |
984 | goto out_init_req; | 984 | goto out_init_req; |
985 | switch (PTR_ERR(req)) { | 985 | switch (PTR_ERR(req)) { |