The branch stable/15 has been updated by kib:

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

commit 12918e98320c0d1e98b7edc5a36b9087fa1242b9
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2025-12-28 14:22:36 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-01-05 00:44:20 +0000

    fs/fuse: use dedicated category per source file
    
    (cherry picked from commit 54b52f655e0fdaef21c3cde85e8bf030efa7b86e)
---
 sys/fs/fuse/fuse_device.c | 2 +-
 sys/fs/fuse/fuse_vfsops.c | 2 +-
 sys/fs/fuse/fuse_vnops.c  | 2 +-
 sys/sys/exterr_cat.h      | 4 +++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sys/fs/fuse/fuse_device.c b/sys/fs/fuse/fuse_device.c
index cee477865c42..41387de3ce71 100644
--- a/sys/fs/fuse/fuse_device.c
+++ b/sys/fs/fuse/fuse_device.c
@@ -82,7 +82,7 @@
 #include <sys/sysctl.h>
 #include <sys/poll.h>
 #include <sys/selinfo.h>
-#define EXTERR_CATEGORY EXTERR_CAT_FUSE
+#define EXTERR_CATEGORY EXTERR_CAT_FUSE_DEVICE
 #include <sys/exterrvar.h>
 
 #include "fuse.h"
diff --git a/sys/fs/fuse/fuse_vfsops.c b/sys/fs/fuse/fuse_vfsops.c
index 1b858a988289..e7a34f716370 100644
--- a/sys/fs/fuse/fuse_vfsops.c
+++ b/sys/fs/fuse/fuse_vfsops.c
@@ -81,7 +81,7 @@
 #include <sys/mount.h>
 #include <sys/sysctl.h>
 #include <sys/fcntl.h>
-#define EXTERR_CATEGORY EXTERR_CAT_FUSE
+#define EXTERR_CATEGORY EXTERR_CAT_FUSE_VFS
 #include <sys/exterrvar.h>
 
 #include "fuse.h"
diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c
index 19e98e40f6ef..9c0fa0a5b6f9 100644
--- a/sys/fs/fuse/fuse_vnops.c
+++ b/sys/fs/fuse/fuse_vnops.c
@@ -89,7 +89,7 @@
 #include <sys/buf.h>
 #include <sys/sysctl.h>
 #include <sys/vmmeter.h>
-#define EXTERR_CATEGORY EXTERR_CAT_FUSE
+#define EXTERR_CATEGORY EXTERR_CAT_FUSE_VNOPS
 #include <sys/exterrvar.h>
 
 #include <vm/vm.h>
diff --git a/sys/sys/exterr_cat.h b/sys/sys/exterr_cat.h
index 318e774542ca..7492fc31662a 100644
--- a/sys/sys/exterr_cat.h
+++ b/sys/sys/exterr_cat.h
@@ -15,7 +15,7 @@
 #define        EXTERR_CAT_FILEDESC     2
 #define        EXTERR_KTRACE           3       /* To allow inclusion of this
                                           file into kern_ktrace.c */
-#define        EXTERR_CAT_FUSE         4
+#define        EXTERR_CAT_FUSE_VNOPS   4
 #define        EXTERR_CAT_INOTIFY      5
 #define        EXTERR_CAT_GENIO        6
 #define        EXTERR_CAT_BRIDGE       7
@@ -24,6 +24,8 @@
 #define        EXTERR_CAT_VFSBIO       10
 #define        EXTERR_CAT_GEOMVFS      11
 #define        EXTERR_CAT_GEOM         12
+#define        EXTERR_CAT_FUSE_VFS     13
+#define        EXTERR_CAT_FUSE_DEVICE  14
 
 #endif
 

Reply via email to