Commit f3492c4a authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Greg Kroah-Hartman
Browse files

nfsd: don't alloc under spinlock in rpc_parse_scope_id



[ Upstream commit 9b6e27d0 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 602ab1fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment