diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-07-24 21:51:44 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-07-24 22:53:35 +0000 |
commit | 9450d9c4e5f94421237a5f58f47afee8c065e60f (patch) | |
tree | 48cc53e342c3c89a107b0e924bebd996d018423a | |
parent | e7d045aa2b270d2026ad6c15639673ea6d01c7b4 (diff) | |
download | src-9450d9c4e5f94421237a5f58f47afee8c065e60f.tar.gz src-9450d9c4e5f94421237a5f58f47afee8c065e60f.zip |
stand: Use c99 structure initialization for splitfs_fsops
Sponsored by: Netflix
-rw-r--r-- | stand/libsa/splitfs.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stand/libsa/splitfs.c b/stand/libsa/splitfs.c index af28704bc465..30762563d135 100644 --- a/stand/libsa/splitfs.c +++ b/stand/libsa/splitfs.c @@ -52,14 +52,14 @@ static off_t splitfs_seek(struct open_file *f, off_t offset, int where); static int splitfs_stat(struct open_file *f, struct stat *sb); struct fs_ops splitfs_fsops = { - "split", - splitfs_open, - splitfs_close, - splitfs_read, - null_write, - splitfs_seek, - splitfs_stat, - null_readdir + .fs_name = "split", + .fo_open = splitfs_open, + .fo_close = splitfs_close, + .fo_read = splitfs_read, + .fo_write = null_write, + .fo_seek = splitfs_seek, + .fo_stat = splitfs_stat, + .fo_readdir = null_readdir, }; static void |