Skip to content
Commit 681370f4 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: fix nfsdfs reference count loop

We don't drop the reference on the nfsdfs filesystem with
mntput(nn->nfsd_mnt) until nfsd_exit_net(), but that won't be called
until the nfsd module's unloaded, and we can't unload the module as long
as there's a reference on nfsdfs.  So this prevents module unloading.

Fixes: 2c830dd7

 ("nfsd: persist nfsd filesystem across mounts")
Reported-and-Tested-by: default avatarLuo Xiaogang <lxgrxd@163.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 22cf8419
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