fs/btrfs/inode.c:5868:5: warning: symbol 'btrfs_mountpoint_expiry_timeout' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 8667a26d684d4..4f9472e41074a 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5865,7 +5865,7 @@ static int btrfs_dentry_delete(const struct dentry *dentry) static void btrfs_expire_automounts(struct work_struct *work); static LIST_HEAD(btrfs_automount_list); static DECLARE_DELAYED_WORK(btrfs_automount_task, btrfs_expire_automounts); -int btrfs_mountpoint_expiry_timeout = 500 * HZ; +static int btrfs_mountpoint_expiry_timeout = 500 * HZ; static void btrfs_expire_automounts(struct work_struct *work) { struct list_head *list = &btrfs_automount_list;