projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62e2a47
)
fs/nfs: fix missing declaration of nfs_idmap_cache_timeout
author
Zhang Kunbo
<zhangkunbo@huawei.com>
Tue, 17 Dec 2024 07:19:21 +0000
(07:19 +0000)
committer
Trond Myklebust
<trond.myklebust@hammerspace.com>
Tue, 17 Dec 2024 16:14:20 +0000
(11:14 -0500)
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>
fs/nfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/super.c
b/fs/nfs/super.c
index ae5c5e39afa03c86fddaba56f666a2b2a5f606bf..aeb715b4a6902dc907b4b4cf2712232b080c497f 100644
(file)
--- 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