From 141c17172540ae978736b46bee2c38de0b1cdf34 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Sat, 26 Mar 2011 02:24:35 -0400 Subject: [PATCH] --- yaml --- r: 242989 b: refs/heads/master c: a0e7e3cf7932d6c77de0dc79a40dbaeb8060b544 h: refs/heads/master i: 242987: 97203de660664199911232eb5d8e33abfef2c4ec v: v3 --- [refs] | 2 +- trunk/fs/nfs/namespace.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 130e49f7c17e..06d6de1f1919 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4d65c520fb4abed970069d18c119cfe85624f46d +refs/heads/master: a0e7e3cf7932d6c77de0dc79a40dbaeb8060b544 diff --git a/trunk/fs/nfs/namespace.c b/trunk/fs/nfs/namespace.c index ad92bf731ff5..9166fcb66da2 100644 --- a/trunk/fs/nfs/namespace.c +++ b/trunk/fs/nfs/namespace.c @@ -192,13 +192,15 @@ static rpc_authflavor_t nfs_lookup_with_sec(struct nfs_server *server, struct de auth = rpcauth_create(flavor, clone); if (!auth) { flavor = -EIO; - goto out; + goto out_shutdown; } err = server->nfs_client->rpc_ops->lookup(clone, parent->d_inode, &path->dentry->d_name, fh, fattr); if (err < 0) flavor = err; +out_shutdown: + rpc_shutdown_client(clone); out: return flavor; }