From nobody Fri Jan 19 23:53:18 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 4TGxJZ75djz57hx1 for ; Fri, 19 Jan 2024 23:53:18 +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 4TGxJZ61l8z4N4l for ; Fri, 19 Jan 2024 23:53:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705708398; 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=u9+F9XCCDYAci2Vngi07W5qJKtQ/9jM5aZbVNSKaslo=; b=Uo9CeAbB5JlluaBZN9BRZ622aAKCIMitMwoMTKHaFltwbO1efMLn54H29BACbjjFNCAnTf h3avEXRv3djAmJItTR3SZTTFoI3R2vnNezQcjdVAJ4guWEOBN4ZD9DXCXP4766eiccDUPx IFanMso8104k+LNprLVULhfXiwIdJsC6NtAZKSIR7YY5RsJilmUdbqin8E8vs6uNmPVzlI pfAhZsydVlfpQSPknj1NWUXu63wBcF6zCl+5mmm+D/2afu5ZqDtUM4QieMRUGf6ai3ph0Q NQ1+Qce6UWXaZpR3L3IkWZpCwAt3T+0FRd7ZjV54iq/JnTyU4+bibHcvmBNKaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705708398; a=rsa-sha256; cv=none; b=eymKPgz6NtVBpsfhjCq4vz8rsndcgkiNWCyLnrisNqD6KHMBOs1O0vwYgVsLzaAkfZWy5u TpOuXjMYkVYP6mYrYDbqwmVlPBYS0682MHhE01e4LLLnC4qdf3aAbHxhop9zoLO+sWQ3B4 7rRniP+4v56IbTsM3kBUA1xt0CWnIOfDg82ia0duwn/NFhRPBlaWpDv9+CVu7OpqQw0hNs DcUF2oJEVupJ008duocQcGYZsH/oTuhRSGCqfimgQtX+NHUtUWWBRSvrFHRAmE8kDNCYki 7x9UpEzmjDx7sYbHq4EO6qNFe73kJdbby66lnsSdyk+K/+PidZuCJHNNNOK7sA== 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 4TGxJZ57lkz1Bj1 for ; Fri, 19 Jan 2024 23:53:18 +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 40JNrIE1020670 for ; Fri, 19 Jan 2024 23:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40JNrInH020669 for fs@FreeBSD.org; Fri, 19 Jan 2024 23:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 276408] panic: Assertion error == EJUSTRETURN failed at msdosfs_vnops.c:1195 Date: Fri, 19 Jan 2024 23:53:18 +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: 13.2-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@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=3D276408 --- Comment #6 from Konstantin Belousov --- (In reply to John F. Carr from comment #5) Try this please diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsop= s.c index 03c794bad900..258c701bd300 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -1006,9 +1006,8 @@ msdosfs_remount_ro(void *arg, int pending) } MSDOSFS_UNLOCK_MP(pmp); - do { + while (--pending >=3D 0) vfs_unbusy(pmp->pm_mountp); - } while (--pending >=3D 0); } void --=20 You are receiving this mail because: You are the assignee for the bug.=