diff options
author | Moritz Buhl <mbuhl@cvs.openbsd.org> | 2023-04-14 22:41:29 +0000 |
---|---|---|
committer | Moritz Buhl <mbuhl@cvs.openbsd.org> | 2023-04-14 22:41:29 +0000 |
commit | ecae68ea57d3255a3a3488361afc1d8a6cf8d2cc (patch) | |
tree | 0a20846348535e7bd38e200c0ea8388609a91181 | |
parent | f34206daa6cc909924eee8090a9717a7e28a1d4b (diff) |
Use designated initializer for ffs_vtbl.
OK kn
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 730a36b0fab..ffe78ef140f 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.193 2022/08/12 14:30:53 visa Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.194 2023/04/14 22:41:28 mbuhl Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -89,12 +89,12 @@ const struct vfsops ffs_vfsops = { }; struct inode_vtbl ffs_vtbl = { - ffs_truncate, - ffs_update, - ffs_inode_alloc, - ffs_inode_free, - ffs_balloc, - ffs_bufatoff + .iv_truncate = ffs_truncate, + .iv_update = ffs_update, + .iv_inode_alloc = ffs_inode_alloc, + .iv_inode_free = ffs_inode_free, + .iv_buf_alloc = ffs_balloc, + .iv_bufatoff = ffs_bufatoff }; int |