Commit cdd30fa1 authored by Jeff Layton's avatar Jeff Layton Committed by 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: default avatarJeff Layton <jlayton@redhat.com>
Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent aa696a6f
......@@ -479,8 +479,8 @@ again: mutex_lock(&nlm_host_mutex);
}
}
}
mutex_unlock(&nlm_host_mutex);
nsm_release(nsm);
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment