Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4354189pxu; Tue, 1 Dec 2020 02:52:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxc5XtfYyz5Nvy9/BtvkQkJMN1E0bA9BecynIDliXWTcbTl1vbuLAukXojyeoG4T6Fn+2Qd X-Received: by 2002:a17:906:d1c3:: with SMTP id bs3mr2325135ejb.306.1606819965883; Tue, 01 Dec 2020 02:52:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606819965; cv=none; d=google.com; s=arc-20160816; b=pgErcnN+h3MpmmWRfZBBVT0VIZjX3trc0VQHCrhZLSyIa0o9OKNtr7BqE6pmaFDXG4 s0na4pTqk9qlv1g1UThm3JFHSnHs/xuKa7c3GxuntNXkNoGdZMxrAcXIX+sB4veHnVS5 UkEskHKrnr3YUxFESZ6FPyiF+zmo0y1p2er3KyQI6tZ1lbccLMhwYNwzwBoFoaeiwXwD FJlBKF2e9G9+B8wyq+pPfFEuOf9xRHD8NpTvrFI5DMWquaCKATOmLV8ByafF6S50mQHs OSwl/Tk+0UoEQ9Sn3OYL864Zu8O7ppw3sl1WKu3jTpmmOnZUd+QaZGH/KJSXFpyAX+g9 DZFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=eIENmoOCBz55+lnefncv7eepTkXAAAPVRDmwob9kZaA=; b=P9pLvRAZGp6n2dgty7gvoqL+T81iuSeoY0mmdKQIGCLce4pr8/iPlesRFzYHCEIOvb ealN+ncFnIQ/ESsE4miExnxmjprIpYpeC8fb76st4rUwVfajYRCNZNPuMLImB6eLS4r7 O/OjSLErfWr8FBP8KxrfYy+hEAYJzYYvb0uCgSIk/UtdZvdIBXwaf8cArWZlQk//e9Ei 1AXpOs7fJRJgLwT91YxmimcQJ8ZU2QXKWO/Z2Xn4DfA25MSrmk8atid0D9lr3fWZVS1c L+xMpqk3O+sF7PcKt/MzSEu5i9J0NnjRe0sAPOdJaRazLClmx1GLZR4XlQKf29vpY9wF BLIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 d17si660689ejh.451.2020.12.01.02.52.22; Tue, 01 Dec 2020 02:52:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727177AbgLAKvJ (ORCPT + 99 others); Tue, 1 Dec 2020 05:51:09 -0500 Received: from verein.lst.de ([213.95.11.211]:49009 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbgLAKvJ (ORCPT ); Tue, 1 Dec 2020 05:51:09 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id A4A1A67373; Tue, 1 Dec 2020 11:50:25 +0100 (CET) Date: Tue, 1 Dec 2020 11:50:25 +0100 From: Christoph Hellwig To: Christian Brauner Cc: Alexander Viro , Christoph Hellwig , linux-fsdevel@vger.kernel.org, John Johansen , James Morris , Mimi Zohar , Dmitry Kasatkin , Stephen Smalley , Casey Schaufler , Arnd Bergmann , Andreas Dilger , OGAWA Hirofumi , Geoffrey Thomas , Mrunal Patel , Josh Triplett , Andy Lutomirski , Theodore Tso , Alban Crequy , Tycho Andersen , David Howells , James Bottomley , Seth Forshee , =?iso-8859-1?Q?St=E9phane?= Graber , Aleksa Sarai , Lennart Poettering , "Eric W. Biederman" , smbarber@chromium.org, Phil Estes , Serge Hallyn , Kees Cook , Todd Kjos , Paul Moore , Jonathan Corbet , containers@lists.linux-foundation.org, fstests@vger.kernel.org, linux-security-module@vger.kernel.org, linux-api@vger.kernel.org, linux-ext4@vger.kernel.org, linux-integrity@vger.kernel.org, selinux@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v3 07/38] mount: attach mappings to mounts Message-ID: <20201201105025.GF27730@lst.de> References: <20201128213527.2669807-1-christian.brauner@ubuntu.com> <20201128213527.2669807-8-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201128213527.2669807-8-christian.brauner@ubuntu.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org The READ_ONCE still looks suspect as it generally needs to be paired with a WRITE_ONCE. The rest looks sane to me.