Skip to content
Commit 9b6e27d0 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd: don't alloc under spinlock in rpc_parse_scope_id



Dan Carpenter says:

  The patch d20c11d8: "nfsd: Protect session creation and client
  confirm using client_lock" from Jul 30, 2014, leads to the following
  Smatch static checker warning:

        net/sunrpc/addr.c:178 rpc_parse_scope_id()
        warn: sleeping in atomic context

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: d20c11d8 ("nfsd: Protect session creation and client...")
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent e4e737bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment