commit | 560de0e65904db392e1c443c4bf5ee750573336b | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Tue Jul 15 15:05:45 2008 -0400 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Tue Jul 15 15:40:25 2008 -0400 |
tree | 1d6fcfe7fadd5b20ac2f70db6d45d4f8391023f9 | |
parent | 6d7bbbbacc5202eaabbc232681cc325b22a73eeb [diff] |
lockd: get host reference in nlmsvc_create_block() instead of callers It may not be obvious (till you look at the definition of nlm_alloc_call()) that a function like nlmsvc_create_block() should consume a reference on success or failure, so I find it clearer if it takes the reference it needs itself. And both callers already do this immediately before the call anyway. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>