]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs/nfs: fix missing declaration of nfs_idmap_cache_timeout
authorZhang Kunbo <zhangkunbo@huawei.com>
Tue, 17 Dec 2024 07:19:21 +0000 (07:19 +0000)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 17 Dec 2024 16:14:20 +0000 (11:14 -0500)
commitbedb4e6088a886f587d2ea44e0c198c8ce2182c9
treea37a4e07c7a4919c88864c8c8f4858d967862f62
parent62e2a47ceab8f3f7d2e3f0e03fdd1c5e0059fd8b
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>
fs/nfs/super.c