From nobody Sun Jul 24 22:55:38 2022 X-Original-To: dev-commits-src-all@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 4Lrdn663J1z3yvT7; Sun, 24 Jul 2022 22:55:38 +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 4Lrdn62YGkz41HP; Sun, 24 Jul 2022 22:55:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658703338; 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=RVSE/FifXzJlKkJh1fIJcRCzfFcoWfvxJpsdm9H0sUQ=; b=JKfuX8DsaqXzKnYt/9+Y9wFL5nz9JElEvaDhM39ExnRpG1wWidB3m+B6pOUyHjYeD8FFHm Huv+pMvG//aV6bdUSUu4JfXo7o1y4P7n17wdgukhucthm92hsTThQPrIgz1XuoHNcnchoN Yo9tqKq5uAyQquWOJH2QqSe1rfWeRPVlyOK5+UR6HB/8LrpZgEl82nRJP1VIC6r9Iw1Oow oaiZdBBaMmge0AbsQn+sKmWLJSCNTfWyJbDFvQc42klY1+BGkRH5ysL3+DaVb5nTO3cEoa H1/11pegPH5YkDu1lE7hMfPZmxR1f6K/3kLfmO6ayR5STKArThQk8SrkpS+vXA== 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 4Lrdn61fwGzbD6; Sun, 24 Jul 2022 22:55:38 +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 26OMtcuq004476; Sun, 24 Jul 2022 22:55:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26OMtcbg004475; Sun, 24 Jul 2022 22:55:38 GMT (envelope-from git) Date: Sun, 24 Jul 2022 22:55:38 GMT Message-Id: <202207242255.26OMtcbg004475@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: 12a41918a276 - main - stand: Use c99 structure initialization for ext2fs_fsops List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 12a41918a276c042886cd2741b1f79fc402cd752 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658703338; 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=RVSE/FifXzJlKkJh1fIJcRCzfFcoWfvxJpsdm9H0sUQ=; b=rtmw5bq5b1rwLtdi+/Wx+elj+5auW4MuR+wHLPehGoQfxpnyjWei5RTNIat1nFhPd2uITb pp3W3ijz9lghNYo39lMOnOirc3IxA/AXcyuTwyeH9WdQ4sbAqenCOxOhI090lmhG5u7sIl 2An1YkK2IZvRt1S5a5zmSTqCcQ+RDFDMSu/uLVgj+uRw9THYA1fY0MpghHHc0bY5MaiPdu 9K8LA7B5l7NQR105c5u/xYIsVED+lq1mJ4WElfeZRM98pYi981CZhKewDvpzAw2Koroc7/ wECW7UzLGNbMG3zmLejP0BT1alMvhqQ/q53FEwidmBpdxT5LM2krXoqZLfKmsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658703338; a=rsa-sha256; cv=none; b=XbWXM+Wgw4XOpEt+7qbRK9mRv0a7SHhs3xSGr2FYHG8WnGVcT3iAHPRHln3ezRU+JsbCiD bUUUlI7pIfH9xnko6FcKJYFLjuQ6FwlkYGe0DLa3bOXXv39vLh7dI6k67uLQ9oRooN0f9q lZF06DPi0J+dBH+jJYH5xDUD6Ywh8JSkJoTXXComRC4hKplnVA8UsIMWYM5iOqZUQeV8lD klghc6mTczSwjUfKj9SyhzFqo75mq/cKXuFf6jHik1uJuKMIm1+YaXu+Hu3jHWeAf3IkJi 0Tas5CMvCkshpL/ID/3PYAVTiGCLMd+BZVdjEIG8T3Ct4BcZpTmRRZqWx/W5TA== 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=12a41918a276c042886cd2741b1f79fc402cd752 commit 12a41918a276c042886cd2741b1f79fc402cd752 Author: Warner Losh AuthorDate: 2022-07-24 21:51:34 +0000 Commit: Warner Losh CommitDate: 2022-07-24 22:53:35 +0000 stand: Use c99 structure initialization for ext2fs_fsops Sponsored by: Netflix --- stand/libsa/ext2fs.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stand/libsa/ext2fs.c b/stand/libsa/ext2fs.c index b81654552af3..3e91d9fd516f 100644 --- a/stand/libsa/ext2fs.c +++ b/stand/libsa/ext2fs.c @@ -108,14 +108,14 @@ static int dtmap[] = { DT_UNKNOWN, DT_REG, DT_DIR, DT_CHR, DT_UNKNOWN : dtmap[x] struct fs_ops ext2fs_fsops = { - "ext2fs", - ext2fs_open, - ext2fs_close, - ext2fs_read, - null_write, - ext2fs_seek, - ext2fs_stat, - ext2fs_readdir + .fs_name = "ext2fs", + .fo_open = ext2fs_open, + .fo_close = ext2fs_close, + .fo_read = ext2fs_read, + .fo_write = null_write, + .fo_seek = ext2fs_seek, + .fo_stat = ext2fs_stat, + .fo_readdir = ext2fs_readdir, }; #define EXT2_SBSIZE 1024