Skip to content
Commit 560de0e6 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 6d7bbbba
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