From nobody Fri Feb 23 17:38:36 2024 X-Original-To: fs@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 4ThHL45rMHz5B9fD for ; Fri, 23 Feb 2024 17:38:36 +0000 (UTC) (envelope-from bugzilla-noreply@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 4ThHL44kb1z4jJq for ; Fri, 23 Feb 2024 17:38:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708709916; a=rsa-sha256; cv=none; b=VLnLwAauK2/wnAELhZcArRfnsxjJE55C6thkymH0rv7PPOTZ1hdY4U/3yqQvYiBkc+gE2v xPIHvMFxE52VxyyhvUhMzFBTsCbhZvBTAT9GbXZgRV+owfusf6gEYUoP1Rt5wKaa3Eutbq E9YqBFnB75Lwcv6Jbqqn8R+uA3FPQYeSOtj8kXf1/8IYySLObOZSgKSinSYOqk+22njfJF MIORKwKuNldGBLIIKET2bYk8ytukJ3htKM8vXzDx8NgMp11vtpsTYK9AIqV+lDQZkWp2kt WP6UIGllMKqelfZ3Uq+4qUsgidFqUSCfBF1C7YjAoys910+QJSMl0RcR0Tb30w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708709916; 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: in-reply-to:in-reply-to:references:references; bh=1BiSx7BCCWTxX9ZALb3e5F9m1giCXmlio3jmEpzIh/w=; b=NHUL9RcSKzQGjCGNajovYTwtuld+Xks56O63iMscTtTR4k4Z038f7efveIerNOHLsaO4cj WaV3bfqVB5bu+P9FLQ1vyJ8EvATzpO9zLbCeKsjbdoKOgaDvhxZvgXX7oDduBNj0efa7r8 xca44EsHihzftHEUg+UL6Bje81ZcXkZ+Z4IfQN6eWzDKI/dzGanV6z2Brr9Qfipb/bXwsz rst1RIAwAQhOYhrqv5w8sbvS5Iz7XyR7EJdexNKkCCMq0pBXbHShcoXK50jFCyIPJr71RV AVLEjFlE85B9KFe7384L49uOKccuPZ+jepVLFBPqK7qr0YRp57diBIL5sCxgLA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4ThHL43p8WzQKZ for ; Fri, 23 Feb 2024 17:38:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41NHca9C062975 for ; Fri, 23 Feb 2024 17:38:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41NHcaV2062974 for fs@FreeBSD.org; Fri, 23 Feb 2024 17:38:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 277237] fatblock() should call ulmin() rather than min() Date: Fri, 23 Feb 2024 17:38:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277237 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0085afdceb17cb7d4e41f9073299f6883= 72c6a0f commit 0085afdceb17cb7d4e41f9073299f688372c6a0f Author: Konstantin Belousov AuthorDate: 2024-02-23 17:30:10 +0000 Commit: Konstantin Belousov CommitDate: 2024-02-23 17:37:52 +0000 fs/msdosfs fatblock: use ulmin() rather than min() to avoid truncation of pmp->pm_FATsecs. Submitted by: Robert Morris PR: 277237 MFC after: 1 week sys/fs/msdosfs/msdosfs_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=