]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit385e4939971d15122797a8db2e5919c3ea75dc03
tree35f6d08c79edb4e1120420619cf0deff232c64df
parent26bdab31b1fb769b72e3cdbb4519be0776105d28
nfsd: fix nfsdfs inode reference count leak

BugLink: https://bugs.launchpad.net/bugs/1886995
[ Upstream commit bf2654017e0268cc83dc88d56f0e67ff4406631d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
fs/nfsd/nfsctl.c