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>
This commit is contained in:
Родитель
2030ca560c
Коммит
65643f4c82
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче