diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2008-07-15 15:05:45 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-07-15 15:40:25 -0400 |
commit | 560de0e65904db392e1c443c4bf5ee750573336b (patch) | |
tree | 1d6fcfe7fadd5b20ac2f70db6d45d4f8391023f9 /lib/bitmap.c | |
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>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions