diff options
author | Zhang Kunbo <zhangkunbo@huawei.com> | 2024-12-17 07:19:21 +0000 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2024-12-17 11:14:20 -0500 |
commit | bedb4e6088a886f587d2ea44e0c198c8ce2182c9 (patch) | |
tree | a37a4e07c7a4919c88864c8c8f4858d967862f62 | |
parent | 62e2a47ceab8f3f7d2e3f0e03fdd1c5e0059fd8b (diff) | |
download | linux-bedb4e6088a886f587d2ea44e0c198c8ce2182c9.tar.gz linux-bedb4e6088a886f587d2ea44e0c198c8ce2182c9.tar.bz2 linux-bedb4e6088a886f587d2ea44e0c198c8ce2182c9.zip |
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>
-rw-r--r-- | fs/nfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |