]> git.openpandora.org Git - pandora-kernel.git/commitdiff
NFS: Fix an allocation-under-spinlock bug
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Mar 2010 18:06:22 +0000 (13:06 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Mar 2010 18:06:22 +0000 (13:06 -0500)
sunrpc_cache_update() will always call detail->update() from inside the
detail->hash_lock, so it cannot allocate memory.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
fs/nfs/dns_resolve.c

Simple merge