nfsd: fsnotify on rmdir under nfsd/clients/
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 19 Mar 2020 15:30:38 +0000 (11:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:20 +0000 (10:50 +0200)
commit98a817eda5bc9dc2faefa05e5ad45a57e10a5da8
tree5065f97a5ae14c9b761740a9d2c311fe7c96b098
parent27993365c009e2e96ff55a648bf0b12c7744c92b
nfsd: fsnotify on rmdir under nfsd/clients/

commit 69afd267982e733a555fede4e85fe30329ed0588 upstream.

Userspace should be able to monitor nfsd/clients/ to see when clients
come and go, but we're failing to send fsnotify events.

Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/nfsctl.c