Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4235670pxb; Mon, 8 Feb 2021 11:05:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsWS4BQa6dXJIK8gCkc/t0GT9cKt/vVey5JtUmWuiwrTx0MG6Zi9emaRP2ZUZK11RtD7y6 X-Received: by 2002:a17:907:7347:: with SMTP id dq7mr18862669ejc.385.1612811127202; Mon, 08 Feb 2021 11:05:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612811127; cv=none; d=google.com; s=arc-20160816; b=UoqPuysbacI/FPuv1qI+mq0Tv/vqnQifdFtW2SpuWhxLHw4QW6OxUxXQJRo8grcNai rq011CIOhJxzdg+x4GN0cjIr6OmoqR64BxNPJg2dqFsj1wSkFhkiqX27P9TsodSWPuCj zmWd7TeZUqYANVUqiTvF3APY6YXfEmGjLmjp6unx5m8XrFGBkgUL8LAEpKUCPyv6p58H t1dWm2NlmNloaQ5cBjA8oaj2Sa0iyueCnJg/aBp5Q7sUQj6/v9OtAlG2jZ2rq4Mstjd8 hRI5LXDc/TCFKzzejBD4GAO1qupwAgK78lusSmmeHDsEhdHbX0Q2XHZtoZrL85EaoB01 AkjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OuAZhNPZ6HL2DLpynEmR1TCITnJZW/sATSf2c6sANsY=; b=PC94RiByJF4CggYObuMZYOdCDLJdW/4SNkPmHWF2YWKJpG3zfhR6uPStCN2BK+lQpG X5FWDDkO2eMEi5V0+y8Y5upWhQZgRPD/6DJ2MeuT0Gv9i5ZTXjKGq0w3k1ioHIsVwFBO IxP1moDaq1+Q/3kyUw7/s7WvxCQWhTYmxQJqntBYYB3xMsJpsMgUngQ4cYfG9hCGMlnl vtfGU4uIcmUQ0XGMME2Np8S8q3/Z82aB6HO+d06taYzTNvncGeVZll8kFgpxJswdWDZM zYg/7CwpZFKnoRR7iso+8rsJsDR3Q3f21Zx1W9TXkvxff5yOWy+6MBDBGNgIwaFLlCqa nKcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vJrCFyeL; 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 a14si12202377edx.54.2021.02.08.11.05.02; Mon, 08 Feb 2021 11:05:27 -0800 (PST) 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=vJrCFyeL; 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 S235969AbhBHTC2 (ORCPT + 99 others); Mon, 8 Feb 2021 14:02:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233450AbhBHRZY (ORCPT ); Mon, 8 Feb 2021 12:25:24 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62303C06178A; Mon, 8 Feb 2021 09:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OuAZhNPZ6HL2DLpynEmR1TCITnJZW/sATSf2c6sANsY=; b=vJrCFyeLfV/qoeP5pJT9zHVshm fvufU46XGXDGto/8Nnv9exOU2bAdRtYbuLKNTHhUbo3Oxa0TfXtVlRfzmln08ob9OZI3H1YFuaiDM reoRDd36Tvb+C1R8XGcwY64KU/8eWoImJ1r6FyYxVHEgICGpoQ9Oct7nPLqrFzZe/ZaXnmj9Px1LY cuIpEDOdUJVbUvx3ZL8KF57rC/+6psY7KA6QUPpIk5AIez3fE8lJk6Sl4rk6YcklU3aHxWXlLK6J1 nF3NV8SoI2iJPurxvXjb422QDtaoEVZ/MTjIbmRGFi5JTsIyQ7VqfpttPdtBClwu2kOujz0opgzoI R2wyMFQQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l9AGZ-006H5e-VE; Mon, 08 Feb 2021 17:24:05 +0000 Date: Mon, 8 Feb 2021 17:24:03 +0000 From: Matthew Wilcox To: Alexey Dobriyan Cc: Kalesh Singh , jannh@google.com, jeffv@google.com, keescook@chromium.org, surenb@google.com, minchan@kernel.org, hridya@google.com, rdunlap@infradead.org, christian.koenig@amd.com, kernel-team@android.com, Jonathan Corbet , Mauro Carvalho Chehab , Andrew Morton , Michal Hocko , Alexey Gladkov , NeilBrown , Anand K Mistry , "Eric W. Biederman" , Michel Lespinasse , Bernd Edlinger , Andrei Vagin , Yafang Shao , Christian Brauner , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v5 2/2] procfs/dmabuf: Add inode number to /proc/*/fdinfo Message-ID: <20210208172403.GT308988@casper.infradead.org> References: <20210208151437.1357458-1-kaleshsingh@google.com> <20210208151437.1357458-2-kaleshsingh@google.com> <20210208152244.GS308988@casper.infradead.org> <20210208171734.GA42740@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210208171734.GA42740@localhost.localdomain> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 08, 2021 at 08:17:34PM +0300, Alexey Dobriyan wrote: > On Mon, Feb 08, 2021 at 03:22:44PM +0000, Matthew Wilcox wrote: > > On Mon, Feb 08, 2021 at 03:14:28PM +0000, Kalesh Singh wrote: > > > - seq_printf(m, "pos:\t%lli\nflags:\t0%o\nmnt_id:\t%i\n", > > > + seq_printf(m, "pos:\t%lli\nflags:\t0%o\nmnt_id:\t%i\ninode_no:\t%lu\n", > > > > You changed it everywhere but here ... > > call it "st_ino", because that's how fstat calls it? it's called "st_ino" because it's part of the stat structure. here, it is not part of the stat structure.