summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsctl.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2008-07-15 21:05:45 +0200
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-07-15 21:40:25 +0200
commit560de0e65904db392e1c443c4bf5ee750573336b (patch)
tree1d6fcfe7fadd5b20ac2f70db6d45d4f8391023f9 /fs/nfsd/nfsctl.c
parentlockd: minor svclock.c style fixes (diff)
downloadlinux-560de0e65904db392e1c443c4bf5ee750573336b.tar.xz
linux-560de0e65904db392e1c443c4bf5ee750573336b.zip
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 'fs/nfsd/nfsctl.c')
0 files changed, 0 insertions, 0 deletions