commit | 446945ab9a82515af4b099107eda27050e077c58 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Jul 26 00:39:50 2012 +0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Jul 29 23:09:57 2012 +0400 |
tree | 1be9a17759fc754d44a10549a2b43a5aa84a8e2f | |
parent | a51d9eaa41866ab6b4b6ecad7b621f8b66ece0dc [diff] |
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>