From nobody Tue Nov 19 14:31:20 2024 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 4Xt6PN5kNWz5f4qx; Tue, 19 Nov 2024 14:31:20 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xt6PN2tB2z42t4; Tue, 19 Nov 2024 14:31:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732026680; 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=1UfRqYl/3ROvVWhfjSxAKBGNQdfNp5/puJWw5Y+TwXI=; b=WgEvgvZp6z2e3xDPlm98V74zNenJWEUsNJURWmJ7U7xPN66tUBdX43Oa6aOxeR1NoGisYD y3DkDd7pzlYtqHKyjThBjBGDffBkcLPDnsySK1jee2GEdiMKjwnuno13R5lvYRhKZwHCRe YjWbnG85sj30pQFMRmpOMdoUmnIIw0kXOVt/Vzz/16Y/Q/pQtYywLeZtTMZTAUcZLN9rfy 5yuy31iTHxSj6RLdW1ZPEgsOUmSLFj7ZU/JXQwzOuwb7QUgUDoZjPbM/1PTKxrqMB4NBVX 7VBJHuppby5zYmGLDnBc/aT7YyFWuqcmb0v5VEzD+Cl7449xPmdgVx6lkPjC7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732026680; 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=1UfRqYl/3ROvVWhfjSxAKBGNQdfNp5/puJWw5Y+TwXI=; b=vRY7POgZ1QgKHz6lgXPKW150uM1rEU6Uo2IeqBRh3EaAvtBYRsslgF2iz0KWIXclOJG/ja tveKbkrOZVqKnbduABiE/tppPM9CSP1N+UYDyQdTT1yjXtqiBpUnoqAnivQ2PN29ggk8Dh AiWhrL4gMXklsGbeHTam2R2erYtMJ1apd36Jg6IJlBTHz9/x4/ZRgfAJIf3aN7xXA+8cdM R0uNfe31wnwOywI5tQncnD/El4xU1mBVK6pDOYVLohUA8dvVYczX1LCNSYEfkDwFGvChkg jv0ICgNFGbBX8YJjIp6uZC2f5Q+j9bn3jf/OuPOTZ/dmABfpNr416muog/BP9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732026680; a=rsa-sha256; cv=none; b=Q5iiObGOfk0LC1iWPcomsekL5+yMEl3RxLP3ZfQD/hLu+4m26uyH39fsk4UA0W78Y2P0AU 8YyhCI2sehIgv9L0nOw1XOMVgmIHiDZweT7jUD2tgMlaf/5sPi2bZzMWcU1U7pfWUJThNc DgGQWaNWIMAg4T8hBQvP1eqIPogJwzU27kBQma1tON4+8IWSIOZ1OIf5s5Hs1HUu9Z6w4p MyY4j5rc5aARimIIsKt3//w6iPtuz3mhff0j0L5zcy0XdW7LT0dJMlgKZQsbFnjQcYd+4F IsMBPNfd+375dYBWiztr3tgF1WcxNFRA9pu9G0QBT25/cGWwY0JM88D/ATE/Eg== 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 4Xt6PN21h4z1SYG; Tue, 19 Nov 2024 14:31:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AJEVKJT040881; Tue, 19 Nov 2024 14:31:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AJEVKCG040878; Tue, 19 Nov 2024 14:31:20 GMT (envelope-from git) Date: Tue, 19 Nov 2024 14:31:20 GMT Message-Id: <202411191431.4AJEVKCG040878@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 9623b69b1dc3 - stable/14 - file: The f_ops table pointer can be a pointer to const 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 9623b69b1dc3040f532ff1731a577b63afec9b10 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=9623b69b1dc3040f532ff1731a577b63afec9b10 commit 9623b69b1dc3040f532ff1731a577b63afec9b10 Author: Mark Johnston AuthorDate: 2024-11-04 19:38:33 +0000 Commit: Mark Johnston CommitDate: 2024-11-19 14:15:07 +0000 file: The f_ops table pointer can be a pointer to const No functional change intended. MFC after: 2 weeks (cherry picked from commit c477d8974374402a16a42f5d62fbda19070a12a3) --- sys/sys/file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/file.h b/sys/sys/file.h index bfc2c6ab4652..c1439b9bbaac 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -188,7 +188,7 @@ struct file { volatile u_int f_flag; /* see fcntl.h */ volatile u_int f_count; /* reference count */ void *f_data; /* file descriptor specific data */ - struct fileops *f_ops; /* File operations */ + const struct fileops *f_ops; /* File operations */ struct vnode *f_vnode; /* NULL or applicable vnode */ struct ucred *f_cred; /* associated credentials. */ short f_type; /* descriptor type */