summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-09-23 07:58:59 +0200
committerJ. Bruce Fields <bfields@redhat.com>2019-09-23 18:20:10 +0200
commit65643f4c8217edb1f40f7fb05f996c3a4798442a (patch)
treeb2ee0b837b1dfee0a9fcb4a2fec6c59787af0698 /fs
parentnfsd: degraded slot-count more gracefully as allocation nears exhaustion. (diff)
downloadlinux-65643f4c8217edb1f40f7fb05f996c3a4798442a.tar.xz
linux-65643f4c8217edb1f40f7fb05f996c3a4798442a.zip
nfsd: Make nfsd_reset_boot_verifier_locked static
Fix sparse warning: fs/nfsd/nfssvc.c:364:6: warning: symbol 'nfsd_reset_boot_verifier_locked' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfssvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
index 3caaf5675259..fdf7ed4bd5dd 100644
--- a/fs/nfsd/nfssvc.c
+++ b/fs/nfsd/nfssvc.c
@@ -361,7 +361,7 @@ void nfsd_copy_boot_verifier(__be32 verf[2], struct nfsd_net *nn)
done_seqretry(&nn->boot_lock, seq);
}
-void nfsd_reset_boot_verifier_locked(struct nfsd_net *nn)
+static void nfsd_reset_boot_verifier_locked(struct nfsd_net *nn)
{
ktime_get_real_ts64(&nn->nfssvc_boot);
}