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/ntfs/ntfs_vnops.c | |
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/ntfs/ntfs_vnops.c')
-rw-r--r-- | sys/ntfs/ntfs_vnops.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sys/ntfs/ntfs_vnops.c b/sys/ntfs/ntfs_vnops.c index d239112e991..af3a9898af7 100644 --- a/sys/ntfs/ntfs_vnops.c +++ b/sys/ntfs/ntfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_vnops.c,v 1.47 2021/10/15 06:30:06 semarie Exp $ */ +/* $OpenBSD: ntfs_vnops.c,v 1.48 2024/05/12 16:51:05 semarie Exp $ */ /* $NetBSD: ntfs_vnops.c,v 1.6 2003/04/10 21:57:26 jdolecek Exp $ */ /* @@ -681,4 +681,21 @@ const struct vops ntfs_vops = { .vop_strategy = ntfs_strategy, .vop_bwrite = vop_generic_bwrite, .vop_read = ntfs_read, + + .vop_abortop = NULL, + .vop_advlock = NULL, + .vop_create = NULL, + .vop_ioctl = NULL, + .vop_link = NULL, + .vop_mknod = NULL, + .vop_readlink = NULL, + .vop_remove = NULL, + .vop_rename = NULL, + .vop_revoke = NULL, + .vop_mkdir = NULL, + .vop_rmdir = NULL, + .vop_setattr = NULL, + .vop_symlink = NULL, + .vop_write = NULL, + .vop_kqfilter = NULL }; |