Skip to content

Commit bedb4e6

Browse files
Zhang KunboTrond Myklebust
authored andcommitted
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>
1 parent 62e2a47 commit bedb4e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfs/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
#include "nfs.h"
7474
#include "netns.h"
7575
#include "sysfs.h"
76+
#include "nfs4idmap.h"
7677

7778
#define NFSDBG_FACILITY NFSDBG_VFS
7879

0 commit comments

Comments
 (0)