summaryrefslogtreecommitdiffstats
path: root/fs/notify/fsnotify.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2020-07-08 14:11:52 +0300
committerJan Kara <jack@suse.cz>2020-07-27 21:23:36 +0200
commit08b95c338e0c5a96e47f4ca314ea1e7580ecb5d7 (patch)
tree8c5cdc0b4edfb37639789c825a818cf04239481d /fs/notify/fsnotify.c
parentb54cecf5e2293d15620f7b3f8d1bf486243d5643 (diff)
downloadlinux-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 'fs/notify/fsnotify.c')
-rw-r--r--fs/notify/fsnotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c
index c4ac4d13e10f..f12a554be3f0 100644
--- a/fs/notify/fsnotify.c
+++ b/fs/notify/fsnotify.c
@@ -393,7 +393,7 @@ static __init int fsnotify_init(void)
{
int ret;
- BUILD_BUG_ON(HWEIGHT32(ALL_FSNOTIFY_BITS) != 26);
+ BUILD_BUG_ON(HWEIGHT32(ALL_FSNOTIFY_BITS) != 25);
ret = init_srcu_struct(&fsnotify_mark_srcu);
if (ret)