Received: by 10.192.165.156 with SMTP id m28csp1244711imm; Wed, 18 Apr 2018 06:40:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/c3cHBTHz2NY7PJXlU0hAnAxOiJZNNo2uJAAo3ZyvSYsCe/dFWtN5aamfbsSxr1fdDAZyu X-Received: by 10.99.99.68 with SMTP id x65mr1825503pgb.34.1524058829949; Wed, 18 Apr 2018 06:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524058829; cv=none; d=google.com; s=arc-20160816; b=lOPuw+8qWPdD8QNyjFraJJ2bnic3PqGK2dYEvtzXe9FR5G9LwhSl3wZdbxqavkZs5n 4NMJAy2r5D3R2fC73LbcfhgN4IaHt7+IADAvWefo2tbfiIGlPROXgWrpRTn4IH/dZWnv 8MY06W5orPumvbSHlck7wyPIfD+4stqlwqU90AIsIRuMM/l3/YxTCVCZmIuIgwoc9II9 Z0R9nIyC0jbQm8PsItKnw4wbO3hlTO5vPjOuLlIGyI/tmUP9marJnHkvG7m0gacLf2ao WDef956l6ci/nGZ5vfngO193+wrPT4hb4g4QhWEn0xYncnb2a7KaqT4n3+dFeiR5dgKO XuXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=/COm2zRZy6tcaLH9PBF6p62aPQZM4/ViYrCdd1igi5Y=; b=byUCmx27X1Q4m2YVUTPT/GO/nlYSfO5kbyDPCnrxc5jvIJQ0JzT2mxP1zROMIIM7Xs KyV5okjrkKALltr3BiFBxAuS1tliwEEl15QSJodkYboQJrZ0dzSm4K+A1h6tcf5FRVGy 7hSmhgVUWqOkQ5QbZnCg/3tOWkzvwnzXAO1nYzbiD1pk33eeB8cUtAqvMRVxyJ4A8Vkj CmdVU7gMpw9ZFuZ9ecZukbiQbpBnPEzOn//gqWaSzpD5AC8wLR7y/sf8VepJN2RfkzR5 uJgob2a+05lCkHUgjuTvHG3v3d6uP3FVraNXYnKRHWDvuihlmoerfYaEZQ268NjWkQrA dBDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4-v6si1278902plk.182.2018.04.18.06.40.16; Wed, 18 Apr 2018 06:40:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813AbeDRNjB (ORCPT + 99 others); Wed, 18 Apr 2018 09:39:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:32976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbeDRNit (ORCPT ); Wed, 18 Apr 2018 09:38:49 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4D54221726; Wed, 18 Apr 2018 13:38:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D54221726 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Wed, 18 Apr 2018 09:38:45 -0400 From: Steven Rostedt To: Miklos Szeredi Cc: Amir Goldstein , Miklos Szeredi , overlayfs , linux-fsdevel , linux-kernel , Howard McLauchlan Subject: Re: [RFC PATCH 31/35] Revert "vfs: add d_real_inode() helper" Message-ID: <20180418093845.19ca33f3@gandalf.local.home> In-Reply-To: References: <20180412150826.20988-1-mszeredi@redhat.com> <20180412150826.20988-32-mszeredi@redhat.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Apr 2018 13:42:03 +0200 Miklos Szeredi wrote: > On Wed, Apr 18, 2018 at 10:19 AM, Amir Goldstein wrote: > > On Thu, Apr 12, 2018 at 6:08 PM, Miklos Szeredi wrote: > >> This reverts commit a118084432d642eeccb961c7c8cc61525a941fcb. > >> > >> No user of d_real_inode() remains, so it can be removed. > >> > > > > FYI, there is a new user in v4.17-rc1 added by commit > > f0a2aa5a2a40 tracing/uprobe: Add support for overlayfs > > > > Seems like this patch got merged without any CC to overlayfs > > mailing list nor maintainer? It appeared to be a small change with lots of reviewers. I didn't think it was something to notify the overlayfs folks with. But perhaps I was wrong. > > > > Not sure yet if overlayfs-rorw patches would allow reverting this > > change. > > Not trivial, because uprobe is looking at i_mapping to get a list of > current memory maps. We could set i_mapping at overlay inode > initialization time, but we definitely can't *change* i_mapping at > copy up. Which is bound to result in some weird inconsistencies. So > likely we'll need to keep d_real_inode() for the time being. I just received this patch: http://lkml.kernel.org/r/20180418062907.3210386-1-songliubraving@fb.com Which removes this code. Can you review it and I'll take it. -- Steve