From nobody Fri Dec 27 06:26:16 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 4YKFr870vfz5jGrT; Fri, 27 Dec 2024 06:26:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKFr86Bv8z4y3y; Fri, 27 Dec 2024 06:26:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735280776; 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=eWmAl1epSQao/6c5FXUB+fQVKg1FRGpD3zhGF0cAOFc=; b=TlpnNe/vSEKruiWTSkzurPjRBTpIuET0WHH9PTWAuW4ARHyws7dX0LQf5GiCDQt83ujeYJ ZvkVhng3Ib0pzikFJt6ZXk+v0xqQcBFCMtXcvznE5DP4WeHQ6VpIRej5rO6WrnCn8Z+P6O cYKlxyYkvuePyQzf2oQJ3FTRyh5ByOJ7IN7lI1K/NPYtg8czpQTfSIAbFh7mETG7zquYAS j+o8m3y9YA7aGNf7PK1KAaC+ynaOGWld76xrh6UNl9GZTr5P2NPcNMLXxUUtyqGIdywyt9 CzRaX6xSDdyib9v3GRY612MkXPh5NIWNRoP/wyUgADku46F7ptLZp3RCrkoyVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735280776; 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=eWmAl1epSQao/6c5FXUB+fQVKg1FRGpD3zhGF0cAOFc=; b=OPmPnrahXm+kx9AM3bLHi4VcwG4K3kT34M+7WPEHq1FBMuKFbzP9vF6fvu5eeB9butjeku 5OespSYr5q+vo4juNGNPAF7ZBtqC6B9etq4t7vmQbMG1JTfhVho0RLuy6jq37+S7RTpeJV DvlLph6zuHI9oJs40lHTD7jY+eSy3tZclhnAa9tJSNSLsvAlgjFe7yuJMFbkbq/Je7u5RJ zTvoBkfmqqZJef6cW0f0Ejvqg4F67/6lMjDXT6P6xiTQGIVgak1vyCMIUW8riJs7oiPucp rG10RkjnbwDGPEVQvk02QbWyNsaQVa70jmzr1bCrGqiCSjI7XRsYyXzKL8YKiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735280776; a=rsa-sha256; cv=none; b=ClXgvQF9TaCzcQ089TexDRaBe/UDhzJgLaq7fvUMs0nirst2jf3bdp+0YRAnsW1lzPpYDM +Y+XREWLgNoVND6DtQiMNCFZPbUMvk/bc+5hLKbQUajYi/Xt1E0mpq9H+Ezc4kH/ZdZkFO tqvwfIB9o01l3Xe8O3ySKkl5z2dZsYQD3fcwALnOU0Sb17DFGo/z+kRli+gtWxEG9NZxqW 184nK+I/8Yg+zlI1YknkJ/0MpEKujKJgGSNVAqeDO2cLX9/1wzICBHWW5pvxYThxcF2sUw 4DSZYtfeLsw1rnDb6hQtFKXyuR0iahOda30KR8l7/owjopvjx6BTWRckH1eIuA== 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 4YKFr85h5yzRtV; Fri, 27 Dec 2024 06:26:16 +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 4BR6QGGR040078; Fri, 27 Dec 2024 06:26:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BR6QGPW040075; Fri, 27 Dec 2024 06:26:16 GMT (envelope-from git) Date: Fri, 27 Dec 2024 06:26:16 GMT Message-Id: <202412270626.4BR6QGPW040075@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 57d12ea5c9b0 - stable/14 - nullfs: stop lying about mount flags in statfs(2) 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 57d12ea5c9b07a6407e3518aeb2383f29be727d2 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=57d12ea5c9b07a6407e3518aeb2383f29be727d2 commit 57d12ea5c9b07a6407e3518aeb2383f29be727d2 Author: Konstantin Belousov AuthorDate: 2024-12-19 22:14:20 +0000 Commit: Konstantin Belousov CommitDate: 2024-12-27 06:24:55 +0000 nullfs: stop lying about mount flags in statfs(2) PR: 283425 (cherry picked from commit 709989bab5d060763bb8fd8e75d33f8bd1d454ad) --- sys/fs/nullfs/null_vfsops.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 35d0f46d0ef7..8d980932623d 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -369,12 +369,7 @@ nullfs_statfs(struct mount *mp, struct statfs *sbp) return (error); } - /* now copy across the "interesting" information and fake the rest */ sbp->f_type = mstat->f_type; - sbp->f_flags &= MNT_RDONLY | MNT_NOEXEC | MNT_NOSUID | MNT_UNION | - MNT_NOSYMFOLLOW | MNT_AUTOMOUNTED | MNT_EXPORTED | MNT_IGNORE; - mstat->f_flags &= ~(MNT_ROOTFS | MNT_AUTOMOUNTED | MNT_EXPORTED); - sbp->f_flags |= mstat->f_flags; sbp->f_bsize = mstat->f_bsize; sbp->f_iosize = mstat->f_iosize; sbp->f_blocks = mstat->f_blocks;