Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 22:11:21 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 67fb3a2478b6 - stable/13 - stand: Use c99 structure initialization for splitfs_fsops
Message-ID:  <202301242211.30OMBLih083816@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=67fb3a2478b68af9d78ad40b331c95c1cc135856

commit 67fb3a2478b68af9d78ad40b331c95c1cc135856
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-24 21:51:44 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:26 +0000

    stand: Use c99 structure initialization for splitfs_fsops
    
    Sponsored by:           Netflix
    
    (cherry picked from commit 9450d9c4e5f94421237a5f58f47afee8c065e60f)
---
 stand/libsa/splitfs.c | 16 ++++++++--------
 1 file 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301242211.30OMBLih083816>