summaryrefslogtreecommitdiffstats
path: root/Documentation/nvdimm
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2018-01-24 01:39:04 +0100
committerTrond Myklebust <trondmy@gmail.com>2018-01-24 23:33:57 +0100
commit535cb8f3193f2976f39371810dcad64ae2650771 (patch)
treedd7ece1d3b2cf6b5475e4e9120d43bced6d46224 /Documentation/nvdimm
parentMerge tag 'nfs-rdma-for-4.16-1' of git://git.linux-nfs.org/projects/anna/linu... (diff)
downloadlinux-535cb8f3193f2976f39371810dcad64ae2650771.tar.xz
linux-535cb8f3193f2976f39371810dcad64ae2650771.zip
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 'Documentation/nvdimm')
0 files changed, 0 insertions, 0 deletions