From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f195.google.com ([74.125.82.195]:38276 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752098AbeEQJHK (ORCPT ); Thu, 17 May 2018 05:07:10 -0400 Received: by mail-ot0-f195.google.com with SMTP id n3-v6so4221144ota.5 for ; Thu, 17 May 2018 02:07:10 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1526379972-20923-1-git-send-email-amir73il@gmail.com> <1526379972-20923-2-git-send-email-amir73il@gmail.com> <20180515132328.GA11678@redhat.com> <20180517085305.GA23785@veci.piliscsaba.redhat.com> From: Miklos Szeredi Date: Thu, 17 May 2018 11:07:09 +0200 Message-ID: Subject: Re: [PATCH v3 1/4] ovl: use insert_inode_locked4() to hash a newly created inode To: Amir Goldstein Cc: Vivek Goyal , Al Viro , overlayfs , linux-fsdevel Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, May 17, 2018 at 10:58 AM, Amir Goldstein wrote: >> --- >> diff --git a/fs/inode.c b/fs/inode.c >> index 13ceb98c3bd3..bb79e3f96147 100644 >> --- a/fs/inode.c >> +++ b/fs/inode.c >> @@ -1002,6 +1002,52 @@ void unlock_two_nondirectories(struct inode *inode1, struct inode *inode2) >> } >> EXPORT_SYMBOL(unlock_two_nondirectories); >> >> +struct inode *iget5_prealloc(struct inode *inode, >> + struct super_block *sb, unsigned long hashval, > > Maybe no need to pass in @sb... Yep. Thanks, Miklos