diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2024-05-12 16:51:06 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2024-05-12 16:51:06 +0000 |
commit | 695d211e16e7cac259a194d813fd4121148d90d4 (patch) | |
tree | 21a29e4cee8a72d081ec4a0a22ec4ed4c80d9d1e /sys/kern | |
parent | a98155308f8b8c2dc343790c9707f673ccac4daa (diff) |
vfs: struct vops: show all members, even if NULL
In order to help code maintenance, explicitly add all `struct vops` members with
the current value (if not present, it is NULL), still using the C99 notation.
ok miod@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_sync.c | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/sys/kern/vfs_sync.c b/sys/kern/vfs_sync.c index 8108e6d5a50..4412725a90c 100644 --- a/sys/kern/vfs_sync.c +++ b/sys/kern/vfs_sync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_sync.c,v 1.70 2024/02/03 18:51:58 beck Exp $ */ +/* $OpenBSD: vfs_sync.c,v 1.71 2024/05/12 16:51:05 semarie Exp $ */ /* * Portions of this code are: @@ -220,7 +220,34 @@ const struct vops sync_vops = { .vop_lock = nullop, .vop_unlock = nullop, .vop_islocked = nullop, - .vop_print = sync_print + .vop_print = sync_print, + + .vop_abortop = NULL, + .vop_access = NULL, + .vop_advlock = NULL, + .vop_bmap = NULL, + .vop_bwrite = NULL, + .vop_create = NULL, + .vop_getattr = NULL, + .vop_ioctl = NULL, + .vop_link = NULL, + .vop_lookup = NULL, + .vop_mknod = NULL, + .vop_open = NULL, + .vop_pathconf = NULL, + .vop_read = NULL, + .vop_readdir = NULL, + .vop_readlink = NULL, + .vop_remove = NULL, + .vop_rename = NULL, + .vop_revoke = NULL, + .vop_mkdir = NULL, + .vop_rmdir = NULL, + .vop_setattr = NULL, + .vop_strategy = NULL, + .vop_symlink = NULL, + .vop_write = NULL, + .vop_kqfilter = NULL }; /* |