diff options
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 0e98916..9674628 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -1024,6 +1024,9 @@ nfs_sysctl(struct mount *mp, fsctlop_t op, struct sysctl_req *req) return (error); } if (req->newptr != NULL) { + error = vfs_suser(mp, req->td); + if (error) + return (error); error = SYSCTL_IN(req, &nmp->nm_tprintf_initial_delay, sizeof(nmp->nm_tprintf_initial_delay)); if (error) |