diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-08 14:11:52 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 21:23:36 +0200 |
commit | 08b95c338e0c5a96e47f4ca314ea1e7580ecb5d7 (patch) | |
tree | 8c5cdc0b4edfb37639789c825a818cf04239481d /include/linux/fsnotify.h | |
parent | b54cecf5e2293d15620f7b3f8d1bf486243d5643 (diff) | |
download | linux-08b95c338e0c5a96e47f4ca314ea1e7580ecb5d7.tar.gz linux-08b95c338e0c5a96e47f4ca314ea1e7580ecb5d7.tar.bz2 linux-08b95c338e0c5a96e47f4ca314ea1e7580ecb5d7.zip |
fanotify: remove event FAN_DIR_MODIFY
It was never enabled in uapi and its functionality is about to be
superseded by events FAN_CREATE, FAN_DELETE, FAN_MOVE with group
flag FAN_REPORT_NAME.
Keep a place holder variable name_event instead of removing the
name recording code since it will be used by the new events.
Link: https://lore.kernel.org/r/20200708111156.24659-17-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/fsnotify.h')
-rw-r--r-- | include/linux/fsnotify.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h index 316c9b820517..9b2566d273a9 100644 --- a/include/linux/fsnotify.h +++ b/include/linux/fsnotify.h @@ -30,12 +30,6 @@ static inline void fsnotify_name(struct inode *dir, __u32 mask, const struct qstr *name, u32 cookie) { fsnotify(dir, mask, child, FSNOTIFY_EVENT_INODE, name, cookie); - /* - * Send another flavor of the event without child inode data and - * without the specific event type (e.g. FS_CREATE|FS_IS_DIR). - * The name is relative to the dir inode the event is reported to. - */ - fsnotify(dir, FS_DIR_MODIFY, dir, FSNOTIFY_EVENT_INODE, name, 0); } static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, |