summaryrefslogtreecommitdiffstats
path: root/fs/lockd/host.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-02-05 21:09:12 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-02-08 22:20:35 +0100
commitcdd30fa1664e0245fa64330c7cc2ddab7e47c223 (patch)
treeacaa6946150b6aaccb576c200b955b8079943bb3 /fs/lockd/host.c
parentnfsd: Use vfs_fsync_range() in nfsd_commit (diff)
downloadlinux-cdd30fa1664e0245fa64330c7cc2ddab7e47c223.tar.xz
linux-cdd30fa1664e0245fa64330c7cc2ddab7e47c223.zip
lockd: release reference to nsm_handle in nlm_host_rebooted
nsm_reboot_lookup takes a reference to the nsm_handle that it returns, but nlm_host_rebooted never releases that reference. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r--fs/lockd/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c
index 4600c2037b8b..bb464d12104c 100644
--- a/fs/lockd/host.c
+++ b/fs/lockd/host.c
@@ -479,8 +479,8 @@ again: mutex_lock(&nlm_host_mutex);
}
}
}
-
mutex_unlock(&nlm_host_mutex);
+ nsm_release(nsm);
}
/*