diff options
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index f2317f3e29f9..ea784969fb85 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -383,7 +383,6 @@ nfs_create_client(struct nfs_server *server, const struct nfs_mount_data *data) | |||
383 | return clnt; | 383 | return clnt; |
384 | 384 | ||
385 | out_fail: | 385 | out_fail: |
386 | xprt_destroy(xprt); | ||
387 | return clnt; | 386 | return clnt; |
388 | } | 387 | } |
389 | 388 | ||
@@ -1623,7 +1622,6 @@ static int nfs4_fill_super(struct super_block *sb, struct nfs4_mount_data *data, | |||
1623 | if (IS_ERR(clnt)) { | 1622 | if (IS_ERR(clnt)) { |
1624 | up_write(&clp->cl_sem); | 1623 | up_write(&clp->cl_sem); |
1625 | printk(KERN_WARNING "NFS: cannot create RPC client.\n"); | 1624 | printk(KERN_WARNING "NFS: cannot create RPC client.\n"); |
1626 | xprt_destroy(xprt); | ||
1627 | err = PTR_ERR(clnt); | 1625 | err = PTR_ERR(clnt); |
1628 | goto out_fail; | 1626 | goto out_fail; |
1629 | } | 1627 | } |