From nobody Sun Jul 24 22:55:42 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 4LrdnC0CtDz3yvNk; Sun, 24 Jul 2022 22:55:43 +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 4LrdnB6qZRz41l5; Sun, 24 Jul 2022 22:55:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658703343; 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=FIOmlO9mmdg0MR98/q42y00TwW4IXHlKYIf2p3FO8LI=; b=dxufXp4yWPMXlp5SogRX5iMsMs1RP5YPBYOYwdcX9qFPFdRSjnf7rLptQZx1JqIuAIhH/W a8q0xQhuql9pzyMIAJW55xBka2ZrprcI22gtLprQh1g1YW+91OUAZtC8H302yjDNz60gg2 SIgIheh1BriwdTTROwrNwRtD2Lo7xeIe1oCAck6fPEwVKwzlWiCTD9ZbgcX/aAphVaPnEf Lfckwt8Kr4y5/US9UEC2tgUa7gluqG0jb/HN54WSYalxdE1M3gMYnY3tma63ipBKYK9AgE tdvrQK40QPigJlWcTAjKaFVXVgzi3L+VLq9+/NyvXM47d1u4l1v96xdoMHubBw== 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 4LrdnB5rRTzbD8; Sun, 24 Jul 2022 22:55:42 +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 26OMtggl004576; Sun, 24 Jul 2022 22:55:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26OMtgNB004575; Sun, 24 Jul 2022 22:55:42 GMT (envelope-from git) Date: Sun, 24 Jul 2022 22:55:42 GMT Message-Id: <202207242255.26OMtgNB004575@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: 9450d9c4e5f9 - main - stand: Use c99 structure initialization for splitfs_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: 9450d9c4e5f94421237a5f58f47afee8c065e60f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658703343; 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=FIOmlO9mmdg0MR98/q42y00TwW4IXHlKYIf2p3FO8LI=; b=uW41oPNoCYa2ovhkyw6wlJRru2NvrjDnvcp4dNprwRF4vGf5LCg++iTScLwQEm8sW0WME4 K6VOOFfO31d59Z1/1D/MtlXWCJZFKop765LNPa5QpbFARYUN525JbEtMEqysxkRLGUaJcB Wwvpw+SJGLyGtiVPlyZdbac9ub8zYnyeRKTqIdX1Ap8pgfCIVPj1iwCOVHat0YUrtIyYIe Q93deLNEdHJstfdWZMu4qO4SQM7PwfR0ynqBtpd1SkRS2s4ZWV2Y/9Vuq5g+P7b8PbZJjk 2gn29qfLe+ur94XbPb7jJcf2JnRDNrQOnpTJgHV/ESmta+Gp8iI6pJ7vDzwSQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658703343; a=rsa-sha256; cv=none; b=JhZSXj867U+IFDtHOtx25BWbgdgjzE9ICD5PbOwXSrZKNvKof3qEbqEW+8zTkIXhVFlNny +kQ9fQ/xVkG7lW4cbs9iHLsBaD0SLYdM5ogtl60VpsZQw31io98It3AmxyRuvpdBrHSJ9y yhPQ4y3ZCvbOy+jyHxrl13IyAANhOdGjMof1V7P7vhjFwO5TyFirPr8g1d20QjS3H2FHlj afc2Dh7sR5vS9svQVldaqxclNEG7IeOBtlgQ5z+kCuIOfOx8KcI53wN+OcGr9EKxpirD2K EvaN1DRQy9T5JXSwy/4e9m8D89PB3Fygcg5jCoaGOuPMyQUalO9YZ4pRaNDMLQ== 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=9450d9c4e5f94421237a5f58f47afee8c065e60f commit 9450d9c4e5f94421237a5f58f47afee8c065e60f Author: Warner Losh AuthorDate: 2022-07-24 21:51:44 +0000 Commit: Warner Losh CommitDate: 2022-07-24 22:53:35 +0000 stand: Use c99 structure initialization for splitfs_fsops Sponsored by: Netflix --- 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