From nobody Tue Jan 24 22:11:21 2023 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 4P1h554dK0z3bf5K; Tue, 24 Jan 2023 22:11:21 +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 4P1h551bRtz4N22; Tue, 24 Jan 2023 22:11:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598281; 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=jVcng9f1/SlrcfuEor2r8bVYK8S2Jum4iGB9z91pJuQ=; b=DGL1J3rz+qwHT3TjMeLhT+dqHUQHVig/mT5C/S3QDxvElqnerEcNiMrVR3MuZr0R4P+K0g /C/N/CVK1Xnt45yf16Fdnm2ZJIGMxpNKub4UYHCm4cYPLrgSiblXVwKqSYDuWJ2k/Eqn0x qDGGAxnSnYneAfAON4oIJm0xRw3dQ7qiAwaszz9YiWVbgf3sGagn1nbLSIbDefqoNx222e HmZ1d7sev8LakiNHt26lwKLpoeK/pdHMN6/44IHlgForRxuntMp153Ng6O6MtGNDB0fGW3 6v7O02/mQIupmjcl+8rnMuWTnT3EAU0tMm55mXvhDs/LAHFoPjGyJD73y+Gv0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598281; 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=jVcng9f1/SlrcfuEor2r8bVYK8S2Jum4iGB9z91pJuQ=; b=oiqOfRvErMdK/7YSMSREoXJGqzazW24KCElvgbItWoxGwDuudMunj8bjJvTK1cLCPyud/4 r88gkw4rwv31mRmfwxXQCevmQIkhCc7yTnbwbFmvWkgHTGJ+TMKvzNJxQGntCjgeXDslbf AOz0R9MDcmG1uueyHfXRk/p6i/JRbfEorX7mLxE8Y9q3W1yXPap466LjU4kzkTSuUL9UHZ SYZ3aragkwoWoe6TfFzMnM89gWjhu6+/XczY8GcllYTw26orCsgpnBXX4h8GWvMgY8UH96 MScmuOce0Kl/mI0VJQEfy9we2efchmcO4nIfSdcfP9/+qaqtln1SZRsBaZIwog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674598281; a=rsa-sha256; cv=none; b=buQ7UYgE8OK2qgFdfYujQ+4EWvjer8sL4ptrmafS6Kdxnn2IuNmJ0r8Ti8E5zr7Ar7yQJ6 lP/4bcv6z7A7yOXZbcwpQ678gqWbPu5pShzW0NWie9w3VL6XfN7sJ1YyXCLvhJwd6QmQ4g lRDkVr82jkjrhC1odoysz6EguirjFnVjvI7mte53XbvESBZbcMhOhF6fgZahCWCQJuw24C HlRhR3LTH5rEhuMz2NBuU/j2i/ZF6RrOl1L7tDXGgVSMfElcIgzJmWaAKRy/NJSxmKH3fp QmEOSchXx/38oXstKymnNfBSHFDYKuDRAFhR5JgGV+Z/vmXndHFeaYMcxOHXmg== 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 4P1h550hBmzQTl; Tue, 24 Jan 2023 22:11:21 +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 30OMBLwU083817; Tue, 24 Jan 2023 22:11:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OMBLih083816; Tue, 24 Jan 2023 22:11:21 GMT (envelope-from git) Date: Tue, 24 Jan 2023 22:11:21 GMT Message-Id: <202301242211.30OMBLih083816@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 67fb3a2478b6 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 67fb3a2478b68af9d78ad40b331c95c1cc135856 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=67fb3a2478b68af9d78ad40b331c95c1cc135856 commit 67fb3a2478b68af9d78ad40b331c95c1cc135856 Author: Warner Losh AuthorDate: 2022-07-24 21:51:44 +0000 Commit: Warner Losh 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