From nobody Mon Nov 04 19:38:53 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 4Xj1x94Tbkz5cRch; Mon, 04 Nov 2024 19:38:53 +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 4Xj1x93T7Sz4HVN; Mon, 4 Nov 2024 19:38:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730749133; 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=q9AJa/NKLW28EXAadi8ojuSKeeELewQJRB+/1repe/Q=; b=XDdv4M92X2zIh+wdcrn7wUILJeA1K8JOwEzs4DhfcfSul5qpw1iNkEaKA6b/WKnD3N3GeO iFHX7/xmKTIqwn5KRpjH08v7Qj9SIFVGTp1upCXhWKK7VKzakCUp46MdAqMZoDEiP+SyVK FxSm7XdrhMild9MMUuR5B0d9shvZO/tx2M2x2q0aTI2TNbDi5VHCa49vFkcyr8zgocDhYd feMe+2z63ioJ5TT46QCA7n3X59PoSBmCuBpnneKaz/Zce9btcc1dC+13ABUtfCj470fbQw 7UHssdDmrKVlADzEjGBmyt0iTr6sLvZaCHlJMTxE3EiXH4ZPnHeF6h+X2swsvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730749133; 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=q9AJa/NKLW28EXAadi8ojuSKeeELewQJRB+/1repe/Q=; b=MNu4mEBSI95TFH3IuKIcpuSOIBsIxbU2+YALJAvwNCr7+5Ks84OOwAGfrNIHBScyLqFZDx F91Zp8s99t+dvTdDod6l2UpclUKFFWT0XLNC9oIN9HKWrykXrWzqNz5J9jI73lbi1ddjqA DdrFvZoVdTBIMN5Bqg7RDjVNiE25pHqIgAQRLT9at2UEe0vrRqysqMZRSDcf3rG9te4b6T LUUMvH6jw2RzHx/4lMBNWM1QklGf0KmevaoL8myrWGCujnwR8dt3Fw03ZxsMlIj0ZotdRd BPaRhkNA+eTga/OAB1QF/HPVbwPXX+PbVYPZCnhd9zPqjXbrzlMXOPnGXtwkNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730749133; a=rsa-sha256; cv=none; b=RuzhUYBPdzXotf1WLHjKimky+hmLhoFGgnvXYQncyFkTX8qGwyn0X5LwH8v3PbyL498uIa hoofQq5D6QC794BLuxhBUJguKEPvLvH/L8jGDJRCDO6nyznyl84YTj22hFFq9LWMLPysh0 8bJCFVfAy8obvo2YCxjmm2ZTm8FC0pkkXcJNysKvKtat9/9DlQ6QkaEWomJKOLtg2CPFiy WT1jbNT/LneGXW/VXoQ1P+WRjuRfGYaz7DbZwlKGPXAmgs+KKpLoriyUadGbhv8UbQp/1I zgWzzdh//zDMkStRfOqFGtazj3CtBta4HS9yM0hvGzTZZ/U3VAaOT3RVYdsycw== 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 4Xj1x934Qxzmbs; Mon, 4 Nov 2024 19:38:53 +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 4A4JcrSW083040; Mon, 4 Nov 2024 19:38:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4JcrWp083037; Mon, 4 Nov 2024 19:38:53 GMT (envelope-from git) Date: Mon, 4 Nov 2024 19:38:53 GMT Message-Id: <202411041938.4A4JcrWp083037@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: c477d8974374 - main - 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/main X-Git-Reftype: branch X-Git-Commit: c477d8974374402a16a42f5d62fbda19070a12a3 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c477d8974374402a16a42f5d62fbda19070a12a3 commit c477d8974374402a16a42f5d62fbda19070a12a3 Author: Mark Johnston AuthorDate: 2024-11-04 19:38:33 +0000 Commit: Mark Johnston CommitDate: 2024-11-04 19:38:33 +0000 file: The f_ops table pointer can be a pointer to const No functional change intended. MFC after: 2 weeks --- 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 6d1b8b8e1df4..820ad1015573 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -186,7 +186,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 */