diff options
author | Trond Myklebust <trondmy@gmail.com> | 2018-01-23 19:39:04 -0500 |
---|---|---|
committer | Trond Myklebust <trondmy@gmail.com> | 2018-01-24 17:33:57 -0500 |
commit | 535cb8f3193f2976f39371810dcad64ae2650771 (patch) | |
tree | dd7ece1d3b2cf6b5475e4e9120d43bced6d46224 /block | |
parent | 8f39fce84a6765b62cbc30fd9c3fdaa5bdf46ded (diff) | |
download | linux-535cb8f3193f2976f39371810dcad64ae2650771.tar.bz2 |
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: Trond Myklebust <trondmy@gmail.com>
Acked-by: J. Bruce Fields <bfields@fieldses.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions