From nobody Sun Sep 15 15:00:35 2024 X-Original-To: dev-commits-src-main@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 4X6B780ljVz5Wmhb; Sun, 15 Sep 2024 15:00:36 +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 4X6B775z8bz4PPj; Sun, 15 Sep 2024 15:00:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726412435; 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=Qee0wj8XNmd4wiT/KVt9nw/S430WU61oAc+Q/nzMstk=; b=KFCwjRPOY6hskb2yL5bKaR/Uw4PF6cyJ3LuDLprVfHHCtqLAadG2s6kJkIvEpIhiGnksCx LJ1UbxS6+Z9pVnz34/sCEw0YLXDeCvYp34oIDp626eaMtojKLGIcIsXJzpYNAzs+kZDMhy fCIzJ5HRVCGvpwfEqN6qdWPutVQyDcD2DmLcAmGpxLmAAs5ccyMrAVivOQLEWGAtu34eeB nKt3kIpBQVVpwiB/W8hLCg5CIMYg+qWBe6BEtZHC9qEVAmkPAAZZDXTM3WHokrPYqBkYQd qIv88xUtfRYWmbGuG5IpCvh1Cf9gchOvmQ4K0KzZKovpg07Mk1kEu4EHctaoAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726412435; a=rsa-sha256; cv=none; b=khFRTlF3yThm8Pw7NkBhtnaEddCYRbO5VmHyWSf4/15WzebxKn+tT1ck+96McIruJS89CX 30/LlJdTJB5BUxccpwCJtRIBo6EN/yRTEMb/1K8dOKCKHdslfTqnKOvRzi9shH3qJ7c+bb hkJbl0FEEgq++9rwpldeEtpmQu/s5mUqU27fFBOLxvYJ+0P87odOcjLhilMQtp2gnyrweW IVsGlMeNTfr85/+TR+c7bBA/dSPebiXWfY0ZxZnTNud8AS0ZkbCSYxgQLMOVsm5zQiag/V 2xSBaa3TGhivOzLq9/sU6+okdopBflwu2z8eNxt+Ycnw+VyPejMn9fb5wFkT9Q== 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=1726412435; 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=Qee0wj8XNmd4wiT/KVt9nw/S430WU61oAc+Q/nzMstk=; b=vKEU2GVY0tqs6AqwWwjwANLoGspDUDikSdk70GUi7razSXXQ/WBw1zGPGoBVwrNSQY/Rsj 8Dk+w9GfnX9OqsRSDXhI3jGVRU7ErcTpzEaMWsaEMiBFEIXDP2vMJgRi4R6ZubC1kew8ke mQd4PkoBfR9Pej/ErFuduqgBp5k8CeigJTbRNt1mBYzUw52v/2e/EwOYuRHPwp6mR1AaEK lG82TgUBn1Ggi18+/VZpuS+zEHGS+QRv9IRp41Fz6D4TBuw324ci8dMF68mpbagx2fkeLD 7flMPRyBsgdW3CYFsd1ia3w924lpF/hIUbfeghcdscuClyGwCt10e61EAxmlEA== 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 4X6B775bDWzFsQ; Sun, 15 Sep 2024 15:00:35 +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 48FF0ZRc042001; Sun, 15 Sep 2024 15:00:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48FF0ZMw041998; Sun, 15 Sep 2024 15:00:35 GMT (envelope-from git) Date: Sun, 15 Sep 2024 15:00:35 GMT Message-Id: <202409151500.48FF0ZMw041998@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 8276c6ea9cf7 - main - softdep_mount: on journal start failure, report the mount point path List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 8276c6ea9cf7cc3c7a0bd5a50fd1db298656f514 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=8276c6ea9cf7cc3c7a0bd5a50fd1db298656f514 commit 8276c6ea9cf7cc3c7a0bd5a50fd1db298656f514 Author: Konstantin Belousov AuthorDate: 2024-09-15 08:05:42 +0000 Commit: Konstantin Belousov CommitDate: 2024-09-15 14:59:02 +0000 softdep_mount: on journal start failure, report the mount point path Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/ufs/ffs/ffs_softdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 86c90000e8d2..77d552ad5dff 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -2631,7 +2631,8 @@ softdep_mount(struct vnode *devvp, if ((fs->fs_flags & FS_SUJ) && (error = journal_mount(mp, fs, cred)) != 0) { - printf("Failed to start journal: %d\n", error); + printf("%s: failed to start journal: %d\n", + mp->mnt_stat.f_mntonname, error); softdep_unmount(mp); return (error); }