mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 09:20:13 -04:00
fuse: make dentry_tree_work static
The dentry_tree_work is not exported, so make it static to remove the followign sparse warning: fs/fuse/dir.c:37:21: warning: symbol 'dentry_tree_work' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
committed by
Miklos Szeredi
parent
767094250c
commit
6e64df0f73
@@ -34,7 +34,7 @@ struct dentry_bucket {
|
||||
#define FUSE_HASH_BITS 5
|
||||
#define FUSE_HASH_SIZE (1 << FUSE_HASH_BITS)
|
||||
static struct dentry_bucket dentry_hash[FUSE_HASH_SIZE];
|
||||
struct delayed_work dentry_tree_work;
|
||||
static struct delayed_work dentry_tree_work;
|
||||
|
||||
/* Minimum invalidation work queue frequency */
|
||||
#define FUSE_DENTRY_INVAL_FREQ_MIN 5
|
||||
|
||||
Reference in New Issue
Block a user