]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nfsd: fix nfsdfs inode reference count leak
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 24 Jun 2020 01:01:19 +0000 (21:01 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 29 Jun 2020 18:48:28 +0000 (14:48 -0400)
commitbf2654017e0268cc83dc88d56f0e67ff4406631d
tree66ca83c8d4156b8dc44b7097e4accfc74fb70520
parent681370f4b00af0fcc65bbfb9f82de526ab7ceb0a
nfsd: fix nfsdfs inode reference count leak

I don't understand this code well, but  I'm seeing a warning about a
still-referenced inode on unmount, and every other similar filesystem
does a dput() here.

Fixes: e8a79fb14f6b ("nfsd: add nfsd/clients directory")
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsctl.c