Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 446945ab authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a51d9eaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment