Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74959
b: refs/heads/master
c: 5cef338
h: refs/heads/master
i:
  74957: 9df7b8a
  74955: 8c86cb3
  74951: 2b838ee
  74943: cc940c6
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Dec 12, 2007
1 parent 820f427 commit af27bcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4584f520e1f773082ef44ff4f8969a5d992b16ec
refs/heads/master: 5cef338b30c110daf547fb13d99f0c77f2a79fbc
6 changes: 3 additions & 3 deletions trunk/fs/nfs/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,6 @@ static int nfs_create_rpc_client(struct nfs_client *clp, int proto,
*/
static void nfs_destroy_server(struct nfs_server *server)
{
if (!IS_ERR(server->client_acl))
rpc_shutdown_client(server->client_acl);

if (!(server->flags & NFS_MOUNT_NONLM))
lockd_down(); /* release rpc.lockd */
}
Expand Down Expand Up @@ -755,6 +752,9 @@ void nfs_free_server(struct nfs_server *server)

if (server->destroy != NULL)
server->destroy(server);

if (!IS_ERR(server->client_acl))
rpc_shutdown_client(server->client_acl);
if (!IS_ERR(server->client))
rpc_shutdown_client(server->client);

Expand Down

0 comments on commit af27bcc

Please sign in to comment.