From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:50446 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933681AbeFQSWE (ORCPT ); Sun, 17 Jun 2018 14:22:04 -0400 Date: Sun, 17 Jun 2018 19:22:02 +0100 From: Al Viro To: Linus Torvalds Cc: Linux Kernel Mailing List , linux-fsdevel Subject: Re: [RFC][PATCHES] getting rid of int *open in ->atomic_open() and friends Message-ID: <20180617182202.GA17927@ZenIV.linux.org.uk> References: <20180608184842.GD30522@ZenIV.linux.org.uk> <20180609051051.GF30522@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180609051051.GF30522@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Jun 09, 2018 at 06:10:51AM +0100, Al Viro wrote: > On Fri, Jun 08, 2018 at 11:57:06AM -0700, Linus Torvalds wrote: > > I'm obviously biased since I asked for this, but: > > > > On Fri, Jun 8, 2018 at 11:48 AM Al Viro wrote: > > > > > > 33 files changed, 135 insertions(+), 180 deletions(-) > > > > this already looks nice. > > > > I'll go through the individual patches and see if there's anything > > there that raises my hackles. Silence will mean assent in this case > > BTW, looking through alloc_file() callers - in cxl_getfile() we have [snip] > That's a double iput when we hit alloc_file failure... There's a bunch > of callers that can be massaged into something along such lines (not > sharing that bug, though) and I wonder if we would be better off with > wrapper like ... and call-by-editor strikes again - this window we've got it cut'n'pasted into ocxlflash_getfile(), with the same double iput in place...