提交 cdd30fa1 编写于 作者: J Jeff Layton 提交者: J. Bruce Fields

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: NJeff Layton <jlayton@redhat.com>
Reviewed-by: NChuck Lever <chuck.lever@oracle.com>
Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
上级 aa696a6f
......@@ -479,8 +479,8 @@ again: mutex_lock(&nlm_host_mutex);
}
}
}
mutex_unlock(&nlm_host_mutex);
nsm_release(nsm);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册