Skip to content

Commit

Permalink
lockd: release reference to nsm_handle in nlm_host_rebooted
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Layton authored and J. Bruce Fields committed Feb 8, 2010
1 parent aa696a6 commit cdd30fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/lockd/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ again: mutex_lock(&nlm_host_mutex);
}
}
}

mutex_unlock(&nlm_host_mutex);
nsm_release(nsm);
}

/*
Expand Down

0 comments on commit cdd30fa

Please sign in to comment.