aboutsummaryrefslogtreecommitdiff
path: root/include/linux/lockd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2008-07-15 15:05:45 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-07-15 15:40:25 -0400
commit560de0e65904db392e1c443c4bf5ee750573336b (patch)
tree1d6fcfe7fadd5b20ac2f70db6d45d4f8391023f9 /include/linux/lockd
parent6d7bbbbacc5202eaabbc232681cc325b22a73eeb (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 'include/linux/lockd')
0 files changed, 0 insertions, 0 deletions