Message ID | 20241217071921.2635013-1-zhangkunbo@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [-next] fs/nfs: fix missing declaration of nfs_idmap_cache_timeout | expand |
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index ae5c5e39afa0..aeb715b4a690 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -73,6 +73,7 @@ #include "nfs.h" #include "netns.h" #include "sysfs.h" +#include "nfs4idmap.h" #define NFSDBG_FACILITY NFSDBG_VFS
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> --- fs/nfs/super.c | 1 + 1 file changed, 1 insertion(+)