stand: Use c99 structure initialization for splitfs_fsops

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-07-24 15:51:44 -06:00
parent e7d045aa2b
commit 9450d9c4e5

View File

@ -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