Message ID | 1358351822-7675-107-git-send-email-herton.krzesinski@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index f005b5b..ede78be 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -689,8 +689,7 @@ static int nfs_create_rpc_client(struct nfs_client *clp, */ static void nfs_destroy_server(struct nfs_server *server) { - if (!(server->flags & NFS_MOUNT_LOCAL_FLOCK) || - !(server->flags & NFS_MOUNT_LOCAL_FCNTL)) + if (server->nlm_host) nlmclnt_done(server->nlm_host); }