diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2019-10-15 15:25:18 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-10-17 10:31:12 +0200 |
commit | 4a0b20be60bf387a1e4f989ff9953c0d1e0858aa (patch) | |
tree | e56288866e3e4bcef0aaf2c73a3b7cc29c540759 /fs/notify/fsnotify.h | |
parent | vfs: Fix EOVERFLOW testing in put_compat_statfs64 (diff) | |
download | linux-4a0b20be60bf387a1e4f989ff9953c0d1e0858aa.tar.xz linux-4a0b20be60bf387a1e4f989ff9953c0d1e0858aa.zip |
fsnotify: move declaration of fsnotify_mark_connector_cachep to fsnotify.h
Move fsnotify_mark_connector_cachep to fsnotify.h to properly
share it with the user in mark.c and avoid the following warning
from sparse:
fs/notify/mark.c:82:19: warning: symbol 'fsnotify_mark_connector_cachep' was not declared. Should it be static?
Link: https://lore.kernel.org/r/20191015132518.21819-1-ben.dooks@codethink.co.uk
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/fsnotify.h')
-rw-r--r-- | fs/notify/fsnotify.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h index f3462828a0e2..ff2063ec6b0f 100644 --- a/fs/notify/fsnotify.h +++ b/fs/notify/fsnotify.h @@ -65,4 +65,6 @@ extern void __fsnotify_update_child_dentry_flags(struct inode *inode); extern struct fsnotify_event_holder *fsnotify_alloc_event_holder(void); extern void fsnotify_destroy_event_holder(struct fsnotify_event_holder *holder); +extern struct kmem_cache *fsnotify_mark_connector_cachep; + #endif /* __FS_NOTIFY_FSNOTIFY_H_ */ |