fsnotify: get rid of fsnotify_nameremove()
authorAmir Goldstein <amir73il@gmail.com>
Sun, 26 May 2019 14:34:11 +0000 (17:34 +0300)
committerJan Kara <jack@suse.cz>
Thu, 20 Jun 2019 12:47:54 +0000 (14:47 +0200)
commit7377f5bec13332bc470856f337935be6cabbcf24
treeb2906da2c692ddddfcd63ba74c8ee1e1747ec508
parent49246466a98996e78b68a0041807dbd2628c53fe
fsnotify: get rid of fsnotify_nameremove()

For all callers of fsnotify_{unlink,rmdir}(), we made sure that d_parent
and d_name are stable.  Therefore, fsnotify_{unlink,rmdir}() do not need
the safety measures in fsnotify_nameremove() to stabilize parent and name.
We can now simplify those hooks and get rid of fsnotify_nameremove().

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fsnotify.c
include/linux/fsnotify.h
include/linux/fsnotify_backend.h