From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C08BBC07E9D for ; Sat, 24 Sep 2022 14:37:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233405AbiIXOhK (ORCPT ); Sat, 24 Sep 2022 10:37:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231670AbiIXOhJ (ORCPT ); Sat, 24 Sep 2022 10:37:09 -0400 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68F66B441C for ; Sat, 24 Sep 2022 07:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OocmR+ND18vsBzbq0vVV2IWlWaJvX+ya5EpokqkvB+4=; b=tnxrBN3ykSZJ/YQCpppzIfomfH UwVuTBTSuLoEhnY+hhgd1PmOs79e0UlS1aGBCnLZ50JKLaGUN0x40W1+RpqOkd2NLiOE/zPKEAps4 gZ25eORhQA/iNCFOWAv8edByPPzZo0DHjK/p5VmFxZiwNmrSTm7BgGO1h6ZHNYv/VpmlDr4UVY0JT RNCKT0Lji2Jx+YXyaBe28RBzMnY7KtcJchDXbKUjvCAJ5DbqashkcpIbeJiCK6zHTHGg9HdA3fOQh pmcv0g5KHa9ua0tZ9oe7ILTEj4p5aYhGqSXcyeMuhmOAmd46Tu/Cdr9eBiYgCzCpDXbjalA6HzJMs XKUkGj/A==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1oc6HA-003Keo-30; Sat, 24 Sep 2022 14:37:05 +0000 Date: Sat, 24 Sep 2022 15:37:04 +0100 From: Al Viro To: Miklos Szeredi Cc: Miklos Szeredi , linux-fsdevel@vger.kernel.org, Christian Brauner , Amir Goldstein , David Howells , Yu-li Lin , Chirantan Ekbote Subject: Re: [PATCH v4 04/10] cachefiles: only pass inode to *mark_inode_inuse() helpers Message-ID: References: <20220922084442.2401223-1-mszeredi@redhat.com> <20220922084442.2401223-5-mszeredi@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Sat, Sep 24, 2022 at 07:02:19AM +0200, Miklos Szeredi wrote: > On Sat, 24 Sept 2022 at 06:56, Al Viro wrote: > > > > On Fri, Sep 23, 2022 at 05:42:01PM +0200, Miklos Szeredi wrote: > > > On Thu, 22 Sept 2022 at 18:22, Al Viro wrote: > > > > > > > I would rather leave unobfuscating that to a separate patch, > > > > if not a separate series, but since you are touching > > > > cachefiles_unmark_inode_in_use() anyway, might as well > > > > get rid of if (inode) in there - it's equivalent to if (true). > > > > > > Okay, pushed updated version (also with > > > cachefiles_do_unmark_inode_in_use() un-open-coding) to: > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git#fuse-tmpfile-v5 > > > > OK... I can live with that. Could you > > replace > > cachefiles_do_unmark_inode_in_use(object, file_inode(file)); > > with > > cachefiles_do_unmark_inode_in_use(object, inode); > > in there and repush? Or I could do cherry-pick and fix it up... > > Done. Head is now: > > 7d37539037c2 ("fuse: implement ->tmpfile()") Merged and pushed out.