Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp170590pxb; Tue, 24 Aug 2021 23:51:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydZ293mUaIw7LE4BTf+/NykCD1d2LEKjBrpPL/t9HstZmI0RjvgrT3GpDQzfRF7KyTsKGA X-Received: by 2002:a05:6638:974:: with SMTP id o20mr37830137jaj.10.1629874278289; Tue, 24 Aug 2021 23:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629874278; cv=none; d=google.com; s=arc-20160816; b=T9XO16BhctrrQE6HtV7qIVSn5VNjux4BqG1iKznD4UDMvX+IZ/MQrnTqyt1avKiPVH YHHSyTIVRb7EeFAQS8P3ldCuTi5I7HLF7wuMYgszL87+fA8EL3oIe0mKPF5ZjcV5VLnb 99ljVxGh838XfFkxr4kH2CozzNP1137pTUkyBvTzSuQFRxAO9QCfZXrSC0gFUPvuO35A PS4Lry9Iq1b7TTQ934fby9jff8L8IVKU3T9vsiB40dgDdPOVIqU00AFUmS3y+zvT9kbb ejUYS/35UxdyS4NaaOhq5tZ25HtuqA+t+oiWYyP4kn1UNPj3yhzjxW5Vw4yoqSN+AkaQ +aoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+i/JYgkRJLs3S1XvjipwzCegOl0l6Le2bbTKegrGXik=; b=kHD3XWCXxi14OfJ2sjIMMwwRGRIeZD5Ae1Y1l62L5j40QRbvIQzhqQ66ApufEkXZl2 AiNs9Lhj++pkq2t+GXB5sd00AQ7PBCXh6VvXOp+MoAcu32mMQcCukHvy6qVwvqb5/YUH pQN2z3pEWxBraGNVOyM5TRpwiyDdsU1E/BkFPC0I7jzXlb6BxiwyyS+6dPZzOG/RdV3d kUjmSq6ldwq1xyT/D06DndJVfCogAhxWRJHJxaqbUtHSqoNAndB5tT8ISUp3NGqInmj6 P+CKDa8l7IESaLxQoL5g7hCULsjJpJq7geWgJOmeO//a4pkTP69fMY5rkXbeu4USf6aZ aeXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=jQSr+KYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w21si18621373ior.60.2021.08.24.23.51.07; Tue, 24 Aug 2021 23:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=jQSr+KYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238533AbhHYGvB (ORCPT + 99 others); Wed, 25 Aug 2021 02:51:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238276AbhHYGvA (ORCPT ); Wed, 25 Aug 2021 02:51:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 450F2C061757; Tue, 24 Aug 2021 23:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=+i/JYgkRJLs3S1XvjipwzCegOl0l6Le2bbTKegrGXik=; b=jQSr+KYsg9+T+pRrD9QsDesg1U bH77iJSwHTRnHFp0Y+hACM4OcYKbqdbdgY4p4v1d2XZAQqK0XmdgYmPek69cwSPOrHCduckAbpL0N SCMMh9KsXKfjcOOA7lU9BWvWSdJlEwFiae4eqOFfoeWuEbvSJBr5vP/8d1xTdFDqa0V0XQO1qt7dV X1XBWeQR3/F1Z61uVP5mzwDGLLWiW832Kf2rYQOxMasP595MaW1ZvJSF5cLtYulgXpcdOKNa5D+Gr 7hf8hqW7eIP/oaMrMINf5t9ixb7msDcqMp6XxhzbQYffQdTy0SsrShOe/oEjTnIhBaVUPqa0YoItE ITdNGWKQ==; Received: from [2001:4bb8:193:fd10:ce54:74a1:df3f:e6a9] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mImij-00BzYa-Dn; Wed, 25 Aug 2021 06:49:23 +0000 From: Christoph Hellwig To: Joel Becker Cc: Sishuai Gong , Al Viro , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: configfs lookup race fix Date: Wed, 25 Aug 2021 08:49:02 +0200 Message-Id: <20210825064906.1694233-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this series takes the patch from Sishuai, with the initial refactoring split into reviewable prep patches and the suggestion from Al taken into account. It does not fix the pre-existing leak of ->s_dentry and ->d_fsdata that Al noticed yet - that will take a little more time.