diff options
author | Amir Goldstein | 2019-05-26 16:34:07 +0200 |
---|---|---|
committer | Jan Kara | 2019-06-20 14:46:42 +0200 |
commit | 823e545c027795997f29ec5c255aff605cf39e85 (patch) | |
tree | 4e2b80188d1b6d9ac338b9120aaf49f10c3e1c06 /kernel/context_tracking.c | |
parent | devpts: call fsnotify_unlink() hook (diff) | |
download | kernel-qcow2-linux-823e545c027795997f29ec5c255aff605cf39e85.tar.gz kernel-qcow2-linux-823e545c027795997f29ec5c255aff605cf39e85.tar.xz kernel-qcow2-linux-823e545c027795997f29ec5c255aff605cf39e85.zip |
debugfs: simplify __debugfs_remove_file()
Move simple_unlink()+d_delete() from __debugfs_remove_file() into
caller __debugfs_remove() and rename helper for post remove file to
__debugfs_file_removed().
This will simplify adding fsnotify_unlink() hook.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'kernel/context_tracking.c')
0 files changed, 0 insertions, 0 deletions