Skip to content
Commit 535cb8f3 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

lockd: Fix server refcounting



The server shouldn't actually delete the struct nlm_host until it hits
the garbage collector. In order to make that work correctly with the
refcount API, we can bump the refcount by one, and then use
refcount_dec_if_one() in the garbage collector.

Signed-off-by: default avatarTrond Myklebust <trondmy@gmail.com>
Acked-by: default avatarJ. Bruce Fields <bfields@fieldses.org>
parent 8f39fce8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment