From nobody Tue Jan 24 22:11:18 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 4P1h530hdLz3bf9p; Tue, 24 Jan 2023 22:11:19 +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 4P1h5304grz4MsR; Tue, 24 Jan 2023 22:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598279; 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=ORb0//AWa7ZiRUWbFc/AQwVXT3omOi2m6IxqS0YEZgg=; b=eaB3Qz/niGe4eJKAa3VRPPkKGVSXkaNlEXuRJmPi+n+B0SwdTiQcg4lwWJ4mg0cRKkYvBS 6xY7gWRlwI1MIdQahrB4aEL1OD5PfNC2jKXzHis5ZKm4rdrC/o5lj71dXHGIUwrJsxRiAp V4gX0R6JrWYdjHz5giOqvdsEYl3XT1X3NcLRa+x3R2gUoYPgR1rEAL8v1BuVnN+uvRNj+A 7j+H2iFcx8jyEumQQYjuwa1HTBrVoZg5fFCrwkanaI/2HaFu0saURKZrhBzxtVJioCChbP ayNZGZgoEY7iVNEUlRnm8h2vVvlR1FJecX0UeoR8MC6EVqgkoiN67OHyvGlMRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598279; 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=ORb0//AWa7ZiRUWbFc/AQwVXT3omOi2m6IxqS0YEZgg=; b=EHLA34TCpOPl3kCqkMphuo/HyyKPvLV+AqOHARU35yh+4QVtsrNCmFiu7cC57au7vZEJmv mSNTAbTYB9Vo2zYHVzUomhZ5QiwW5rMOXp8A44WZG1VlCDMgipZvw0bBBRzcRaoBax60/e 2P43s/exRWXSwTAgharbXqCTuLmTTD24atRiGErh1vCohfXUvl2G9iueYTKwP0/gtV5Z+j bYll13FG7gxl9/qYSHPegXDsdpJ4YitT3PRNt/UyLcWHg/RyGTvdLuVicD5cmxrt6C3WD5 xnGWpALY7PzpWWJccHoITFMIH8lxpbEK1FYNi4DMp+o6OTigU9XmmikZuW35Zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674598279; a=rsa-sha256; cv=none; b=qnAPrec/kbYi/J8ry5wDpMNVTTi7zzw84muZBBr1b51exDaWTaUF96bhF2SCxxg0DyZXgc qVll1JlfJabZrrCzIE1UJMrE4chwbermtVhP+rbi2blBjg+8AS0ZgycOIgXYFzKegMLi6F henIDnMjXdoa/uCn79SDJRbcloYLynn7gfxP7jh0Ki8nYpD3WaWvuBw3d3eA8IDpyqv7KB 1rXfSN/vNRx62oqyVt9ur8q19zrTFQhZQ8Si5oVMMjajw0o5elZNQ9hJZpNWYWxhxcEw+G oawetnZUCMNDqJdNalRe0a4Me/qhL9Y/gwsOKTj0YI6ybHHdoF6NdxKyALSnow== 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 4P1h526JmyzQTk; Tue, 24 Jan 2023 22:11:18 +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 30OMBIjD083767; Tue, 24 Jan 2023 22:11:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OMBItu083766; Tue, 24 Jan 2023 22:11:18 GMT (envelope-from git) Date: Tue, 24 Jan 2023 22:11:18 GMT Message-Id: <202301242211.30OMBItu083766@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: f7a380dd5589 - stable/13 - stand: Use c99 structure initialization for nfs_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: f7a380dd5589f42fb6227defd0e7fb53e47a9bd3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=f7a380dd5589f42fb6227defd0e7fb53e47a9bd3 commit f7a380dd5589f42fb6227defd0e7fb53e47a9bd3 Author: Warner Losh AuthorDate: 2022-07-24 21:51:39 +0000 Commit: Warner Losh CommitDate: 2023-01-24 21:49:26 +0000 stand: Use c99 structure initialization for nfs_fsops Sponsored by: Netflix (cherry picked from commit 90a7e556a42263ea10ca931621f168bc3f07a5ff) --- stand/libsa/nfs.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stand/libsa/nfs.c b/stand/libsa/nfs.c index 5757395caba2..8957fce51a6f 100644 --- a/stand/libsa/nfs.c +++ b/stand/libsa/nfs.c @@ -133,14 +133,14 @@ static int nfs_readdir(struct open_file *f, struct dirent *d); struct nfs_iodesc nfs_root_node; struct fs_ops nfs_fsops = { - "nfs", - nfs_open, - nfs_close, - nfs_read, - null_write, - nfs_seek, - nfs_stat, - nfs_readdir + .fs_name = "nfs", + .fo_open = nfs_open, + .fo_close = nfs_close, + .fo_read = nfs_read, + .fo_write = null_write, + .fo_seek = nfs_seek, + .fo_stat = nfs_stat, + .fo_readdir = nfs_readdir, }; static int nfs_read_size = NFSREAD_MIN_SIZE;