Skip to content
Commit ebed9203 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix an allocation-under-spinlock bug



sunrpc_cache_update() will always call detail->update() from inside the
detail->hash_lock, so it cannot allocate memory.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
parent 9fcfe0c8
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