| Message ID | 175182663113.1984706.10460295274868313866.stgit@frogsfrogsfrogs |
|---|---|
| State | Accepted |
| Headers | show
Return-Path: <SRS0=QCqo=ZT=vger.kernel.org=linux-ext4+bounces-8838-patchwork-incoming=ozlabs.org@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=c56YkwY8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=150.107.74.76; helo=mail.ozlabs.org; envelope-from=srs0=qcqo=zt=vger.kernel.org=linux-ext4+bounces-8838-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4bZwwH5gk4z1xpl for <incoming@patchwork.ozlabs.org>; Mon, 7 Jul 2025 04:32:47 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4bZwvc2b1zz4wbR for <incoming@patchwork.ozlabs.org>; Mon, 7 Jul 2025 04:32:12 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4bZwvc2Tjqz4wc3; Mon, 7 Jul 2025 04:32:12 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2604:1380:45e3:2400::1" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1751826732; cv=pass; b=AI+8Gr0WgiC7WKZfnIDaO2hrKITwE0qjiuPtFExq4o3r2qwa1qOhFQtrisDok0zM0bUcUX7IrIYT8xbXnvInk5wCpY+tTchLNO9ADycJ/HmLxt3l/Hy7EaCPwRVxOFXw9XmY4kgLHLWOGEIwuPhhRwPrCLwdA/f0vxYIqoifwBrQ6wrDZAAOxOdKhY2BEdDXPBPa/FF1n76tPwYWRkA37kCZOpopstyxSLBdWJBtPySlHtM5qOCLVSbckkJreZ7wvx1V3dhZc7T17NyQmEcDcq5tcciouV7OamMouiqsTz5JIqjsxwAaer3FBsHcFNGQifv2bF5gOWxcxaPZf7RSxA== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1751826732; c=relaxed/relaxed; bh=HwydAykCsZH5X7q07Up6U56Ajg65B0umBIZORIBFy4Q=; h=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eXm8gkp7rHBCxvZHZIvcRZi884ieMK4jclo6em5r4CeNDdn6d/j+5TcehVWooKSBMj40H9x0DMUh4blYetuASMuOBGoHMNzWNad4eFOjnlDMPbsplRXCrjHK1NTbYQ/wEmY3/Im4uR6yYy/xWMVwq1svWAoBf4zvcQHSleiDXoD1nmMqOW/rGxQ54uI1aS1kn8YP0o5WmMvBgeZeBPfuG3EhGhVb34GM18nrF6sH5b0jsg6F1nHVidOBtTHEPFiyjARYtWQPx1DRmHKMIYpPA+HMZzxy4D4K0+dn0qUMHIwZBsiIsYawCAt4pOwIm1mbaU2cGto/iCARsQxMRl8OvQ== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=vger.kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=c56YkwY8; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: gandalf.ozlabs.org; spf=pass smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=c56YkwY8; dkim-atps=neutral Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4bZwvX6v0nz4wbR for <patchwork-incoming@ozlabs.org>; Mon, 7 Jul 2025 04:32:08 +1000 (AEST) Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 34D983A92B9 for <patchwork-incoming@ozlabs.org>; Sun, 6 Jul 2025 18:32:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E54F19DF4F; Sun, 6 Jul 2025 18:32:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c56YkwY8" X-Original-To: linux-ext4@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C5A01891AB for <linux-ext4@vger.kernel.org>; Sun, 6 Jul 2025 18:32:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751826771; cv=none; b=UawraFbIxUVu21IG9taPvV2Nvy6XPDdjcNifQ6jTFPnRQ0qZHPWTnyrVzowHLBsWUbAjHvYYBIIrTjGma5Ppocs8/YqQgRxepc07XRThAyHxEF/uzBO3hiyOQeavhw1dlhz/0pC6m1hogO6YttSP4TXlkArLtrlF/VMzqwbZ0WM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751826771; c=relaxed/simple; bh=HH2ZeYlKf6adbD/AupzIOMlW4no7DXzsAvNAHm7Wr94=; h=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UEyN53zaVaDWTPZXYblfwCJ6JzFU0zMzdl0yspkv/9NCxf1ot8KRXzrKfKPOVrTul0ampYAP8ZjB61eSSy/dx2klPsd2QdSRnO0bnnXfDPdoQsJEwdebmsomWCfICoEXqvkNmD594eo9u2UKPzL5TpRoZ0I/vpqvoIZpBBQJ//o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c56YkwY8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C357EC4CEED; Sun, 6 Jul 2025 18:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1751826770; bh=HH2ZeYlKf6adbD/AupzIOMlW4no7DXzsAvNAHm7Wr94=; h=Date:Subject:From:To:Cc:In-Reply-To:References:From; b=c56YkwY8xBc/yOR15bSGkG0LVBpWJISHseDtay7CU2AgNbCX4hwZYPfIfFBAtaS33 Y8BydfYFrYaS+GAwJjiG/Pz7RcvlabInA9rKVVzq8tBKij+Uk1eyaX3xxPvVeSAKT9 JfieDb52hXr9gsc6+2iIhXHKtvmNdreBORTKYt8YsRkiCpm7IC1ZOwjC64DBejhUyS 5Xj3raKbPB1Mgw+2NMdpJ/iG9MKLEuC9m/L/YF4yAznzWVqx5Q9aXjyYfIkc8TFHQN LZxyPqPTb6XmIPVRX467lwfm2dcVk2NCUIAWzktFcp8PugAdjsGk66K6Mngqaiknm7 trpHNo6yiLFJQ== Date: Sun, 06 Jul 2025 11:32:50 -0700 Subject: [PATCH 8/8] fuse2fs: don't try to mount after option parsing errors From: "Darrick J. Wong" <djwong@kernel.org> To: tytso@mit.edu Cc: linux-ext4@vger.kernel.org Message-ID: <175182663113.1984706.10460295274868313866.stgit@frogsfrogsfrogs> In-Reply-To: <175182662934.1984706.3737778061161342509.stgit@frogsfrogsfrogs> References: <175182662934.1984706.3737778061161342509.stgit@frogsfrogsfrogs> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: <linux-ext4.vger.kernel.org> List-Subscribe: <mailto:linux-ext4+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-ext4+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=ARC_SIGNED,ARC_VALID, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org |
| Series |
[1/8] libext2fs: fix off-by-one bug in punch_extent_blocks
|
expand
|
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c index ff8aa023d1c555..ab3efea66d3def 100644 --- a/misc/fuse2fs.c +++ b/misc/fuse2fs.c @@ -4407,14 +4407,16 @@ int main(int argc, char *argv[]) FILE *orig_stderr = stderr; char *logfile; char extra_args[BUFSIZ]; - int ret = 0; + int ret; int flags = EXT2_FLAG_64BITS | EXT2_FLAG_THREADS | EXT2_FLAG_EXCLUSIVE | EXT2_FLAG_RW; memset(&fctx, 0, sizeof(fctx)); fctx.magic = FUSE2FS_MAGIC; - fuse_opt_parse(&args, &fctx, fuse2fs_opts, fuse2fs_opt_proc); + ret = fuse_opt_parse(&args, &fctx, fuse2fs_opts, fuse2fs_opt_proc); + if (ret) + exit(1); if (fctx.device == NULL) { fprintf(stderr, "Missing ext4 device/image\n"); fprintf(stderr, "See '%s -h' for usage\n", argv[0]);