]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
lockd: shift grabbing a reference to nlm_host into nlm_alloc_call()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 25 Jul 2012 20:39:50 +0000 (00:39 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jul 2012 19:09:57 +0000 (23:09 +0400)
commit446945ab9a82515af4b099107eda27050e077c58
tree1be9a17759fc754d44a10549a2b43a5aa84a8e2f
parenta51d9eaa41866ab6b4b6ecad7b621f8b66ece0dc
lockd: shift grabbing a reference to nlm_host into nlm_alloc_call()

It's used both for client and server hosts; we can't do nlmclnt_release_host()
on failure exits, since the host might need nlmsvc_release_host(), with BUG_ON()
for calling the wrong one.  Makes life simpler for callers, actually...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/lockd/clntproc.c
fs/lockd/svc4proc.c
fs/lockd/svclock.c
fs/lockd/svcproc.c