]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: move declaration of fsnotify_mark_connector_cachep to fsnotify.h
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 15 Oct 2019 13:25:18 +0000 (14:25 +0100)
committerJan Kara <jack@suse.cz>
Thu, 17 Oct 2019 08:31:12 +0000 (10:31 +0200)
commit149e8191ff5c9937e57e94a03b39aa71b0abee95
treee56288866e3e4bcef0aaf2c73a3b7cc29c540759
parent26a3a33e6875b85ddfd018461c114990e3ed3d45
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>
fs/notify/fsnotify.c
fs/notify/fsnotify.h