]> git.itanic.dy.fi Git - linux-stable/commit
NFS: Release dcache_lock in an error path of nfs_path
authorJosh Triplett <josht@us.ibm.com>
Mon, 24 Jul 2006 23:30:00 +0000 (16:30 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Aug 2006 20:55:01 +0000 (16:55 -0400)
commitce510193272c295b891e45525a83b543ae3207c1
tree4b343858aa43e2a1e549ea23c5cff4cf86aeff47
parent3f2792ffbd88dc1cd41d226674cc428914981e98
NFS: Release dcache_lock in an error path of nfs_path

In one of the error paths of nfs_path, it may return with dcache_lock still
held; fix this by adding and using a new error path Elong_unlock which unlocks
dcache_lock.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from f4b90b43677fb23297c56802c3056fc304f988d9 commit)
fs/nfs/namespace.c