configfs: call fsnotify_rmdir() hook
authorAmir Goldstein <amir73il@gmail.com>
Sun, 26 May 2019 14:34:09 +0000 (17:34 +0300)
committerJan Kara <jack@suse.cz>
Thu, 20 Jun 2019 12:47:21 +0000 (14:47 +0200)
commit6146e78c0364a881af9bec42eb40882b1e329327
tree50ece0f9a5d8b950a2f110495f87c7543b16f610
parent6679ea6dea15ec2fa7e2dd3c11cce639270c4386
configfs: call fsnotify_rmdir() hook

This will allow generating fsnotify delete events on unregister
of group/subsystem after the fsnotify_nameremove() hook is removed
from d_delete().

The rest of the d_delete() calls from this filesystem are either
called recursively from within debugfs_unregister_{group,subsystem},
called from a vfs function that already has delete hooks or are
called from shutdown/cleanup code.

Cc: Joel Becker <jlbec@evilplan.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/configfs/dir.c