From nobody Sun Jul 24 22:55:43 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LrdnD16Vgz3yvNp; Sun, 24 Jul 2022 22:55:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LrdnD0dKsz41tQ; Sun, 24 Jul 2022 22:55:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658703344; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0ln28dsX367Si9Wkb3BDa8HfBaq9oEeg14QC3zrXzxY=; b=v6egZJkLa5lY6TqyuPifV0CjuzYXslUVxTfZa+JlD7R8aFjmOFziKcfoUhA9XXZ7MPrabg owYYac+gm32L4tbcaqSANc6oLtgxbg290RtAilEJY1AUeH0wYmgfJv2rdbdfygAwPAFu31 8i9XWgtxIm5GUFlK1KXwPMaNNe7ap75iAtJHA73g+S0iqxHQQeo7fXddDtd69YRqTdeojN DFNaOmfhGaWtj5lnRtxWE55CtwfeJvzQNc9f1ctv2WCI7jZyh0NLn03UPUbfb1nzG3B2Mx yi5CqPh06JxGFm3u38x8HhQYepVx+O3UdqqhCSigQ9fGIhUBPrfGHLfEpeUiFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LrdnC6rxszbmT; Sun, 24 Jul 2022 22:55:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26OMthMF004602; Sun, 24 Jul 2022 22:55:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26OMthMA004601; Sun, 24 Jul 2022 22:55:43 GMT (envelope-from git) Date: Sun, 24 Jul 2022 22:55:43 GMT Message-Id: <202207242255.26OMthMA004601@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: b7625c2c2cf7 - main - stand: Use c99 structure initialization for gzipfs_fsops List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b7625c2c2cf7e559acc08f7cbbb53f5cb3b8ab94 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658703344; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0ln28dsX367Si9Wkb3BDa8HfBaq9oEeg14QC3zrXzxY=; b=yUYNRwSJhrlC/9m2GnEjFr4XZXwsqDMqauME8Wh0KSd9cgdh0S5EzDJwY3F0vhVDQ5h+zM HJSvc2zbzqRNs445RAn2OiPdwJNFf8cPVy0TRphGjWLeLBbXabXGOzCz5aqvolC04AaNVq r5gAhSbpXBLQVMcDdpRCB6BzUWFXtG9DGIAUlXrTPVFRYcr8Rraffb7hYG5WLKVjcLYjmd hpMskAK9EUAZyuR4kHnnTE4/QSaIyfh786AqP+isX+Kn9seoJum4pmIzdS1vFdJ8omn4Gu HbRhGe7VCsgS15nnhXh1W15+GUl/pv/Sxz8QhC7AeEHGXr/nCPac1PXstD/VXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658703344; a=rsa-sha256; cv=none; b=AT6iFu+pKar7i6G9NbSGw4ey0gmq8EL8dAL9mtDeOkQJ3+DQo/GeOAUQODic19s3icz7qv EinbuxHU5ZqaJx56D0KVc55LKRtrJ0AAMWxL1tOgnKxi1IpbcBvEBwow5HCfBY+1slvGeZ kof1b/cRcv2Ff35RwWm5pjaGglew0MH+NuFtZqgL/2mp+OsQxrwQ4CDrOfMVTSoQNXAQYj bEyqW0yQMVA8RyFVF40Gz1j7WtG1dz5e53X4ynDXpnuP3O6TzL2IM0COT9AUA0TgOIZm9q X9MhaBK5rPKILiujt1AgpWyKEY/u8qEWuYVRVcBCdQW7fl4HWfj58rPMRRAM3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=b7625c2c2cf7e559acc08f7cbbb53f5cb3b8ab94 commit b7625c2c2cf7e559acc08f7cbbb53f5cb3b8ab94 Author: Warner Losh AuthorDate: 2022-07-24 21:51:47 +0000 Commit: Warner Losh CommitDate: 2022-07-24 22:53:35 +0000 stand: Use c99 structure initialization for gzipfs_fsops Sponsored by: Netflix --- stand/libsa/gzipfs.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stand/libsa/gzipfs.c b/stand/libsa/gzipfs.c index 8154b0f95a9a..1486df039aac 100644 --- a/stand/libsa/gzipfs.c +++ b/stand/libsa/gzipfs.c @@ -52,14 +52,14 @@ static off_t zf_seek(struct open_file *f, off_t offset, int where); static int zf_stat(struct open_file *f, struct stat *sb); struct fs_ops gzipfs_fsops = { - "zip", - zf_open, - zf_close, - zf_read, - null_write, - zf_seek, - zf_stat, - null_readdir + .fs_name = "zip", + .fo_open = zf_open, + .fo_close = zf_close, + .fo_read = zf_read, + .fo_write = null_write, + .fo_seek = zf_seek, + .fo_stat = zf_stat, + .fo_readdir = null_readdir, }; static int