diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-12-26 13:28:51 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-12-26 13:28:51 +0000 |
commit | 63be33c9a551c533eb1c57e2987094e1f4ed6e53 (patch) | |
tree | 86e20a781c6d97691fe6007e8a43825e1c4020aa /sys/isofs | |
parent | c22e4d7d5d7943fda9d671aff1a3f48811a21f44 (diff) |
Convert struct vfsops initializer to C99 style.
OK visa@
Diffstat (limited to 'sys/isofs')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 28 | ||||
-rw-r--r-- | sys/isofs/udf/udf_vfsops.c | 28 |
2 files changed, 28 insertions, 28 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index a84c22e0b52..9807c39bd2e 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vfsops.c,v 1.92 2019/07/25 01:43:20 cheloha Exp $ */ +/* $OpenBSD: cd9660_vfsops.c,v 1.93 2019/12/26 13:28:49 bluhm Exp $ */ /* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */ /*- @@ -61,19 +61,19 @@ #include <isofs/cd9660/cd9660_node.h> const struct vfsops cd9660_vfsops = { - cd9660_mount, - cd9660_start, - cd9660_unmount, - cd9660_root, - cd9660_quotactl, - cd9660_statfs, - cd9660_sync, - cd9660_vget, - cd9660_fhtovp, - cd9660_vptofh, - cd9660_init, - cd9660_sysctl, - cd9660_check_export + .vfs_mount = cd9660_mount, + .vfs_start = cd9660_start, + .vfs_unmount = cd9660_unmount, + .vfs_root = cd9660_root, + .vfs_quotactl = cd9660_quotactl, + .vfs_statfs = cd9660_statfs, + .vfs_sync = cd9660_sync, + .vfs_vget = cd9660_vget, + .vfs_fhtovp = cd9660_fhtovp, + .vfs_vptofh = cd9660_vptofh, + .vfs_init = cd9660_init, + .vfs_sysctl = cd9660_sysctl, + .vfs_checkexp = cd9660_check_export, }; /* diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c index 190c65700ca..384ddca7383 100644 --- a/sys/isofs/udf/udf_vfsops.c +++ b/sys/isofs/udf/udf_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vfsops.c,v 1.66 2019/07/25 01:43:21 cheloha Exp $ */ +/* $OpenBSD: udf_vfsops.c,v 1.67 2019/12/26 13:28:49 bluhm Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -83,19 +83,19 @@ int udf_get_mpartmap(struct umount *, struct part_map_meta *); int udf_mountfs(struct vnode *, struct mount *, uint32_t, struct proc *); const struct vfsops udf_vfsops = { - .vfs_fhtovp = udf_fhtovp, - .vfs_init = udf_init, - .vfs_mount = udf_mount, - .vfs_start = udf_start, - .vfs_root = udf_root, - .vfs_quotactl = udf_quotactl, - .vfs_statfs = udf_statfs, - .vfs_sync = udf_sync, - .vfs_unmount = udf_unmount, - .vfs_vget = udf_vget, - .vfs_vptofh = udf_vptofh, - .vfs_sysctl = udf_sysctl, - .vfs_checkexp = udf_checkexp, + .vfs_mount = udf_mount, + .vfs_start = udf_start, + .vfs_unmount = udf_unmount, + .vfs_root = udf_root, + .vfs_quotactl = udf_quotactl, + .vfs_statfs = udf_statfs, + .vfs_sync = udf_sync, + .vfs_vget = udf_vget, + .vfs_fhtovp = udf_fhtovp, + .vfs_vptofh = udf_vptofh, + .vfs_init = udf_init, + .vfs_sysctl = udf_sysctl, + .vfs_checkexp = udf_checkexp, }; int |