Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1956281lqb; Mon, 27 May 2024 03:17:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUuINBemqSB2M6zCCzCHKwNQAq5SimE3XL3X0/hXeO5i0f512m1s2AHqNCV202ERJ/V8Ypiz8xVqKHkc97S8n0zVrWHBNI3znD9i3BvEg== X-Google-Smtp-Source: AGHT+IGuFxkA5r2x4J/nWGiELQ2CaYWsvOF16CbfF1gBYN7mqzyLrk1heX7K4zMhvn9At38r7D43 X-Received: by 2002:a05:6a00:3398:b0:6ea:bf1c:9dfd with SMTP id d2e1a72fcca58-6f8f43db034mr12029991b3a.27.1716805036745; Mon, 27 May 2024 03:17:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716805036; cv=pass; d=google.com; s=arc-20160816; b=zA5rw2Bl43kwkJf89CP2aQ7g4jwrVrMIjMpJYCExpEwbPOu9u9MYQBvH7xcEeMQR3m a4uYumiW9/YoXEWT/QWqAdJJdYls8t/b7jI9f2YjjlJsbsDuAZBJwrWd1jZVJGYCrw1Z A1xGC5Zg9ygVSoXwtP+ERlQ8H1JDS4/TdR3VurhfeyPc+ou0vmyXrJPd+rPidPF/AraZ 69j102wldmG/otrk6iWp7FTcnSJ3RX3IuHBBBslfVVJ9zP9u0rOBZMlc3OdNgoUBwNq3 2LW32WtcLh+4k4usKMSV1uAunppzwhSOHYHp4Y3QvsdthLdIE5hkLHV9EDuBngIf1GLU fFbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=0t+T7WHX4la5LMrFE6PjVGCaYFT0TyBcOR1BCAmjNmg=; fh=PPXtJmfE208U7rk34TJand6iAZidRSJjfRePyEn3zwU=; b=E8F4L44WK9b7edqDiMjP8GZxZwC6IdkkM5d+GJHebjOiBnBwH7gi2UmdBDoln5QUZB DswGlzpbmQN50UKqZtGSd4e9XCT5ujw+qvjakEMFNZH3DrRbOyDAbBhf3ezKUkhL4myu 22OxNz9BbPn5GfH9twGdwt1fAKY+Ex6BBqVxIXaA9Ki+wiWvfgA5AaWUNjq6s5IE7ja9 fLX5wMY5rFXXKQHuFj4oEiLFQgFtlLFvQ3ImZ2ODwHtDqhpfJ4S/hJUqqQQjSxwIOrFR DxUE+At561jLF70+J1F854YJqQ2mGfk9ueevWyGikoaXVOFBL4yRAlMi4wFLBDh9cLu7 ucpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Rh2ndBRu; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-190401-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190401-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-68221b756e7si6077437a12.84.2024.05.27.03.17.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 03:17:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190401-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Rh2ndBRu; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-190401-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190401-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A6D69B22FBA for ; Mon, 27 May 2024 10:07:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D0E213BAC4; Mon, 27 May 2024 10:06:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="Rh2ndBRu" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (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 D9A2913AD0D for ; Mon, 27 May 2024 10:06:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716804391; cv=none; b=T/uPoi1Y9TSCkAFXlJ1h7e3dq2qh/SKLFNuKsD9d9R1N2gZLEp93jZwhYf/siwIhT/ZYd6XwDB0o7/EEerk8Lt+MBxFEtgMeEfZHGeyG/TWmENHUhJQlIOf4PAVBQ6hIXWkCt6ecShXAdQ0tQ8Qjc6IZEg0PuYNA3BABi44kAGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716804391; c=relaxed/simple; bh=Kr4l0x8PNw4zSltcIYoL7UZLHPCeyGC4FnJ3t4A/OAM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iYZlao4Flls8BpyiK/YqdbRP0vgpufmZ2Dc7DoYnsTb996ATWIKqkcuyKeQFaBRaS0TPe/YJaHWcyRv/qJMpKibEz/cmREiqP4B6NOBoMK/cNKGPXEKNavFgi4//mLIjfW1hkoBH8uKUdOXmene2QuEowWoIqCPxLrabeTLALhE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=Rh2ndBRu; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=0t+T 7WHX4la5LMrFE6PjVGCaYFT0TyBcOR1BCAmjNmg=; b=Rh2ndBRu/UYt67O8euVq I7mDDOnIbKTIiLnGjO5pr+HfBMP+h0HL53Rh972C+BQ0PLkM2HMYRhO46crrR0Bv pOPhFS55VMJeD+jzg4YWwbT2xT5KDcqqdWncTlNlbUl0TFis8TcJ+PmgSE7HPWgd 4vlVW4abPpJyH45xpvX4e88xpsWq7i/U/kCEAOxmMUNw73caWvD389YsO5wZwmns NJmel8JE+ZJVww+Yp9d2xaqsHA+MQNwldBawEhLgGlojsyKsGrxw8j0k+WDR5K5i 9s+mbx2Ouxdroh6X7h1u3Ge1PZrktmHlUmOrULheQ/GoerhEtFykfwigFy2CKAOY 4w== Received: (qmail 2284887 invoked from network); 27 May 2024 12:06:19 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 27 May 2024 12:06:19 +0200 X-UD-Smtp-Session: l3s3148p1@XEQoq2wZvLoujntm Date: Mon, 27 May 2024 12:06:18 +0200 From: Wolfram Sang To: Christian Brauner Cc: Eric Sandeen , linux-renesas-soc@vger.kernel.org, linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , David Howells , linux-kernel@vger.kernel.org Subject: Re: [PATCH] debugfs: ignore auto and noauto options if given Message-ID: <20240527100618.np2wqiw5mz7as3vk@ninjato> Mail-Followup-To: Wolfram Sang , Christian Brauner , Eric Sandeen , linux-renesas-soc@vger.kernel.org, linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , David Howells , linux-kernel@vger.kernel.org References: <20240522083851.37668-1-wsa+renesas@sang-engineering.com> <20240524-glasfaser-gerede-fdff887f8ae2@brauner> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hqjbo2nzioraqstx" Content-Disposition: inline In-Reply-To: <20240524-glasfaser-gerede-fdff887f8ae2@brauner> --hqjbo2nzioraqstx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Christian, > Afaict, the "auto" option has either never existent or it was removed bef= ore > the new mount api conversion time ago for debugfs. Frankly, I have no idea why I put this 'auto' in my fstab ages ago. But it seems, I am not the only one[1]. [1] https://www.ibm.com/docs/en/linux-on-systems?topic=3Dassumptions-debugfs > diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c > index dc51df0b118d..713b6f76e75d 100644 > --- a/fs/debugfs/inode.c > +++ b/fs/debugfs/inode.c > @@ -107,8 +107,16 @@ static int debugfs_parse_param(struct fs_context *fc= , struct fs_parameter *param > int opt; >=20 > opt =3D fs_parse(fc, debugfs_param_specs, param, &result); > - if (opt < 0) > + if (opt < 0) { > + /* > + * We might like to report bad mount options here; but > + * traditionally debugfs has ignored all mount options > + */ > + if (opt =3D=3D -ENOPARAM) > + return 0; > + > return opt; > + } >=20 > switch (opt) { > case Opt_uid: >=20 >=20 > Does that fix it for you? Yes, it does, thank you. Reported-by: Wolfram Sang Tested-by: Wolfram Sang Happy hacking, Wolfram --hqjbo2nzioraqstx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmZUWxYACgkQFA3kzBSg KbYn7BAAgjXXfe6438wgV+D2SvJ7lziQ32oC2AKs/kiVtJYHQ6vmj9M5fCgIfuNG 5kSvB/KAwYsMIZrEtYmAWJRJAlpUz4PQHxCEGCgD4QktsUTZW8I+7Y4uwI33D+Sf BbkGsv2sDvTV+LfVp7VSmQRuMHUkJaSYkpDLEpI2I5NRL99KnqplLSuxJi7VtAoJ sVw4AFj48H3Ea1L78YW7CGUUVE2j9s98NQzKHyBHl4ZALfIvJAvfpJn5LgMOhHEU C5w0MzKnIh1iUovzqnTVJVok7LpPrVE3pk7KkScGl/0XkKn3AEdegjk4ydf1+9TI 2i5EKQdFyRv1WqsN3HYuRRyaZOhu1HobWpQcBeJ6yZht/OawnopjiQe8CvkJF23p Dndc97Mc3inp6U03l9gq4zhjMqVzhQQnPp78HXTLUVppxDlfHeMAkxtz0PC/7vQ3 jM4nysaIwvYPItDjVFNyvGMUhdnPb0lKM1gGl5IVnVu7qhsSR5Myx0qwr8XJ6sRV sSggapJDx0Otpt/M1Rdav3jdHUJvBXAnYTCfOe+x2T2eQLizBp+BY+u6oSbAqpbs 5G34N/rVjerSlrgEqVgK5RRsXu8xxdKdyMxNhKJltAz8oMYOvwuWTKq5NeaCauLf KOIyxgdi5MP49mjs2CVvnuqoH60dPU0QyPLPJUtwWRhNKn2/Y7s= =GJ16 -----END PGP SIGNATURE----- --hqjbo2nzioraqstx--