diff options
Diffstat (limited to 'fs/notify')
-rw-r--r-- | fs/notify/fsnotify.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index 9810babb1a3b..076c10e959d5 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c | |||
@@ -275,6 +275,8 @@ EXPORT_SYMBOL_GPL(fsnotify); | |||
275 | 275 | ||
276 | static __init int fsnotify_init(void) | 276 | static __init int fsnotify_init(void) |
277 | { | 277 | { |
278 | BUG_ON(hweight32(ALL_FSNOTIFY_EVENTS) != 23); | ||
279 | |||
278 | return init_srcu_struct(&fsnotify_grp_srcu); | 280 | return init_srcu_struct(&fsnotify_grp_srcu); |
279 | } | 281 | } |
280 | subsys_initcall(fsnotify_init); | 282 | subsys_initcall(fsnotify_init); |