diff options
author | gnezdo <gnezdo@cvs.openbsd.org> | 2021-05-01 16:18:30 +0000 |
---|---|---|
committer | gnezdo <gnezdo@cvs.openbsd.org> | 2021-05-01 16:18:30 +0000 |
commit | 4d3c30b42db1ea82c347951aa52a3e206626f1ec (patch) | |
tree | 82effb690848bf0c643a2784415c0dfed74e35e6 /sys/miscfs/fuse | |
parent | 93bb6fd7698cf751377d0213f6abf5cef1277386 (diff) |
Update the remaining SYSCTL_INT_READONLY cases
OK mvs@
Diffstat (limited to 'sys/miscfs/fuse')
-rw-r--r-- | sys/miscfs/fuse/fuse_vfsops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/miscfs/fuse/fuse_vfsops.c b/sys/miscfs/fuse/fuse_vfsops.c index 3e2af8960af..5b30b1544aa 100644 --- a/sys/miscfs/fuse/fuse_vfsops.c +++ b/sys/miscfs/fuse/fuse_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_vfsops.c,v 1.44 2020/11/17 03:23:10 gnezdo Exp $ */ +/* $OpenBSD: fuse_vfsops.c,v 1.45 2021/05/01 16:18:29 gnezdo Exp $ */ /* * Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -356,10 +356,10 @@ fusefs_init(struct vfsconf *vfc) extern int stat_fbufs_in, stat_fbufs_wait, stat_opened_fusedev; const struct sysctl_bounded_args fusefs_vars[] = { - { FUSEFS_OPENDEVS, &stat_opened_fusedev, 1, 0 }, - { FUSEFS_INFBUFS, &stat_fbufs_in, 1, 0 }, - { FUSEFS_WAITFBUFS, &stat_fbufs_wait, 1, 0 }, - { FUSEFS_POOL_NBPAGES, &fusefs_fbuf_pool.pr_npages, 1, 0 }, + { FUSEFS_OPENDEVS, &stat_opened_fusedev, SYSCTL_INT_READONLY }, + { FUSEFS_INFBUFS, &stat_fbufs_in, SYSCTL_INT_READONLY }, + { FUSEFS_WAITFBUFS, &stat_fbufs_wait, SYSCTL_INT_READONLY }, + { FUSEFS_POOL_NBPAGES, &fusefs_fbuf_pool.pr_npages, SYSCTL_INT_READONLY }, }; int |