• Amir Goldstein's avatar
    fsnotify: add empty fsnotify_{unlink,rmdir}() hooks · 116b9731
    Amir Goldstein authored
    We would like to move fsnotify_nameremove() calls from d_delete()
    into a higher layer where the hook makes more sense and so we can
    consider every d_delete() call site individually.
    
    Start by creating empty hook fsnotify_{unlink,rmdir}() and place
    them in the proper VFS call sites.  After all d_delete() call sites
    will be converted to use the new hook, the new hook will generate the
    delete events and fsnotify_nameremove() hook will be removed.
    Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    116b9731
namei.c 123 KB