git: 5944ceee4bb3 - stable/13 - stand: Use c99 structure initialization for bzipfs_fsops
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:11:17 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=5944ceee4bb33c205caaa6063c25f3453117af75
commit 5944ceee4bb33c205caaa6063c25f3453117af75
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-24 21:51:36 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:26 +0000
stand: Use c99 structure initialization for bzipfs_fsops
Sponsored by: Netflix
(cherry picked from commit 0ad8a113b7066494c509f5c89267c2a4116788c5)
---
stand/libsa/bzipfs.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/stand/libsa/bzipfs.c b/stand/libsa/bzipfs.c
index 1cd71f7913a0..efa2806ce1d4 100644
--- a/stand/libsa/bzipfs.c
+++ b/stand/libsa/bzipfs.c
@@ -70,14 +70,14 @@ static int bzf_stat(struct open_file *f, struct stat *sb);
#ifndef REGRESSION
struct fs_ops bzipfs_fsops = {
- "bzip",
- bzf_open,
- bzf_close,
- bzf_read,
- null_write,
- bzf_seek,
- bzf_stat,
- null_readdir
+ .fs_name = "bzip",
+ .fo_open = bzf_open,
+ .fo_close = bzf_close,
+ .fo_read = bzf_read,
+ .fo_write = null_write,
+ .fo_seek = bzf_seek,
+ .fo_stat = bzf_stat,
+ .fo_readdir = null_readdir,
};
#endif