git: c3c5e6c3e6c4 - main - tarfs: Use the existing CTLFLAG_RWTUN flag definition

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Wed, 12 Apr 2023 04:21:27 UTC
The branch main has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=c3c5e6c3e6c459839efa5184e67928c25384d246

commit c3c5e6c3e6c459839efa5184e67928c25384d246
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-04-12 04:20:38 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-04-12 04:20:38 +0000

    tarfs: Use the existing CTLFLAG_RWTUN flag definition
    
    Use it when possible, instead of separated flags.
    
    No functional change intended.
    
    Reviewed by:    hselasky, erj
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D39466
---
 sys/fs/tarfs/tarfs_subr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/fs/tarfs/tarfs_subr.c b/sys/fs/tarfs/tarfs_subr.c
index 6aa7eaedb773..a0077c611f25 100644
--- a/sys/fs/tarfs/tarfs_subr.c
+++ b/sys/fs/tarfs/tarfs_subr.c
@@ -79,13 +79,13 @@ tarfs_sysctl_handle_ioshift(SYSCTL_HANDLER_ARGS)
 }
 
 SYSCTL_PROC(_vfs_tarfs, OID_AUTO, ioshift,
-    CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RW | CTLFLAG_TUN,
+    CTLTYPE_UINT | CTLFLAG_MPSAFE | CTLFLAG_RWTUN,
     &tarfs_ioshift, 0, tarfs_sysctl_handle_ioshift, "IU",
     "Tar filesystem preferred I/O size (log 2)");
 
 #ifdef TARFS_DEBUG
 int tarfs_debug;
-SYSCTL_INT(_vfs_tarfs, OID_AUTO, debug, CTLFLAG_RW | CTLFLAG_TUN,
+SYSCTL_INT(_vfs_tarfs, OID_AUTO, debug, CTLFLAG_RWTUN,
     &tarfs_debug, 0, "Tar filesystem debug mask");
 #endif	/* TARFS_DEBUG */