Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp261597iob; Wed, 11 May 2022 13:57:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIdZl9NCK0E4KktfDsErjvP2lfqFF/lW++GMnlFDFhkCtcKZ5WF/wn7veF2FY0dGXcX8xT X-Received: by 2002:a50:e78d:0:b0:41d:c8ec:81b0 with SMTP id b13-20020a50e78d000000b0041dc8ec81b0mr30889373edn.56.1652302632489; Wed, 11 May 2022 13:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652302632; cv=none; d=google.com; s=arc-20160816; b=Z4QSVpB99O+cqYFxV4kCEdblrHEc+KrsiblSCzomX0njW1EllDArGggUkMaWh6oDNn geDd2oHIROZwWZdtVguTf7G63OVZxG+Cq+SXZ5NAIDKWEieBo4mUAu+zDcaSwmzgdGCb 8NPpRUWtBraBCUFqLZOzUVWmtCxyijlJB8FMcK0VXb4WyjvvMTvAZEuv8sP5/A0UnymO xAZIJKYMW4PMNUgJGfCrYmN3t7IHgnr5UsCql3U1ve3Z08SKTXm9GEX29l+Nkic5r9Z3 /DKKIgj9wAXYq7YFT2Uale6cqtcjjKoe5BOo8v1MGrepswV6IKEiB6it432dhNi1gb55 vvbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kFb+oOKVfdSFM1Ynmw5DXLEBb4aXz2rTDwsxTr/WZTY=; b=H3aXVLIqPmNESU+F/2aJyW4HEzvKvn+OAengOLMUgEeIAJZzNIswawgPZJboRk6KUr NijZ6AlZ7BGfplNuPDEO2/4HehEIfurXksIxEiet+W+C8czZVYfbpiuuaiTTNYvnKJXE CKgmTvIc3/m8yOFay+bx8y03eMOdUuPazEAN3zl6NyUVOG0AgG4RF9c89GYpLyM0S4h8 zbRrs3+LOoNXO3ANMRsaJrOP+wFiDufm+kZggISiychcjIdypqWgXTOEJaph1nf8Qadj T+GBadITF0ti82M0X5gabYMllrB6r+ndxVYy2hJaYPmX5APLpH7jgDgWhi19LpknMAiC oqyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=NMCM6+TD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a50fe93000000b004281adbee24si3399008edt.326.2022.05.11.13.56.25; Wed, 11 May 2022 13:57:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=NMCM6+TD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236542AbiEKM2v (ORCPT + 99 others); Wed, 11 May 2022 08:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233215AbiEKM2t (ORCPT ); Wed, 11 May 2022 08:28:49 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C08851FD1F7 for ; Wed, 11 May 2022 05:28:47 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id w24so2371799edx.3 for ; Wed, 11 May 2022 05:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kFb+oOKVfdSFM1Ynmw5DXLEBb4aXz2rTDwsxTr/WZTY=; b=NMCM6+TD98zvp/GBsWlY0VX5iKuGvLvXshRG/+mChWR+yPtiyUxxkqNbNdNQwQy9GP PN3IUiJhfvNF/g3HU9LTgvzYpKgbXg6bGECeapdUNYAeGRYouWfhaasrBhujsqaUi26v DkvNhaWJwMwbVG3NJnmWRoCCsPgXwQBw1SwCE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kFb+oOKVfdSFM1Ynmw5DXLEBb4aXz2rTDwsxTr/WZTY=; b=y4IX2b+ekSNBrKDjOKRdijbJZm2FU2pmHJ+AM1XVF7P16Pve4zLpXVDSRuDAytxjO5 JS27WVun7ASXqRJKEisNreG4xM8W33GwOuwMvV06Ist4Ex37vfSNdFVYO0Fq1YX826jI hTzqrcJCGapGK9Hf3IBgXZAG5S9rx6w2RvtxjCRE3T69DS7NcQsbFRod3SbIVJAxxFsW tnetg/nVVX+T2Ahwp94pIZMV57RhIGe9PljJ81bwmAoe7f1mEI0fDocotDdiLLadqtqv kNM0OiNm9RM8FbIAvbcH0OT3TEmny9ZyhtYo78TmTJOXFFDtTTYvQWof0sABNMkABQpH V7Rg== X-Gm-Message-State: AOAM532F4Kn3vIUpbfUd5kTV4ZmfFHRKkW/iu99Ri9w2zkj7ZOneN09V TgsL4xRFdwOfvYWPWI1AAIspBX/HJ7tkKJ7m9wonHw== X-Received: by 2002:aa7:cb18:0:b0:428:af6e:a2a0 with SMTP id s24-20020aa7cb18000000b00428af6ea2a0mr10254026edt.154.1652272126351; Wed, 11 May 2022 05:28:46 -0700 (PDT) MIME-Version: 1.0 References: <20220511013057.245827-1-dlunev@chromium.org> In-Reply-To: From: Miklos Szeredi Date: Wed, 11 May 2022 14:28:34 +0200 Message-ID: Subject: Re: [PATCH 0/2] Prevent re-use of FUSE superblock after force unmount To: Daniil Lunev Cc: linux-fsdevel@vger.kernel.org, fuse-devel , linux-kernel@vger.kernel.org, Alexander Viro Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 May 2022 at 13:19, Daniil Lunev wrote: > > > At a glance it's a gross hack. I can think of more than one way in > > which this could be achieved without adding a new field to struct > > super_block. > Can you advise what would be a better way to achieve that? I think it would be easiest to remove the super block from the type->fs_supers list. Thanks, Miklos