fs/nfs: fix missing declaration of nfs_idmap_cache_timeout

fs/nfs/super.c should include fs/nfs/nfs4idmap.h for
declaration of nfs_idmap_cache_timeout. This fixes the sparse warning:

fs/nfs/super.c:1397:14: warning: symbol 'nfs_idmap_cache_timeout' was not declared. Should it be static?

Signed-off-by: Zhang Kunbo <zhangkunbo@huawei.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
Zhang Kunbo 2024-12-17 07:19:21 +00:00 committed by Trond Myklebust
parent 62e2a47cea
commit bedb4e6088

View File

@ -73,6 +73,7 @@
#include "nfs.h"
#include "netns.h"
#include "sysfs.h"
#include "nfs4idmap.h"
#define NFSDBG_FACILITY NFSDBG_VFS