Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp121578pxy; Thu, 6 May 2021 22:30:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf3dcNljOS2yg++dA4+zoES0G0twegNwcV9G+/s6RjEy4wDelwnVr/hkanuj/YZyHtnYEU X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr9263546edt.17.1620365445974; Thu, 06 May 2021 22:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620365445; cv=none; d=google.com; s=arc-20160816; b=H2BcnK1yg3T8zCqU+WDrlkPifAeoTp8is25uzm+UKmTKJG7189a02gIh4hwtF355rK AltclM7cCvR+AB8v0Z++FlEOYEfEdgddO86/7rXKGwk3/ktL47GuLP/AukuGterlYHEG dJfeqF+i0eteBn5NM5nrLE2elEuNRZeoFlDSMpO4d+rUqjPILN8fsjSONDyc3+vDCidd 1d+72kDZeNuCTQlTPeb528iJGf4Rm9RW5nv2t/SFUq2mtz6bMdu27hnIJbkWxbqQpmLI Vsk8Yw6qLBq7u+jTf49ZdBB8Rvncy7jp+ZvIKvw9FqfWcdqnFi6cCTgPzHlIMPRPQERu GVjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=tjztaim1k/3OAB6q1gIQscWx+znNzEz7+oRKfNgIIUY=; b=MoLp6atkTnfxHtjCvS5vt1++F3yr2/T2b8TvbKJuq84aWUip4y1rNjsiogy2bQvrMG UQSabIj4TzUsg7RBD0+PCq97FF1sTEtWhZDVYLCrPF37ZjWmapgiQGDFcH9Y78koIKzW qP1+SsBW5htTODIT/41+vtGVhajXFEwJuvCNoFt10N8uK1ntAFyfIa3UjkUPOoJC/TUj kFMihyK/wrdR+9e2MAtrbbK2Pr5wO5MlvQ3tixwpb52s+CrW3Utto0hfb08lY7GiuIim oRc8uUhUJ5dJV/UFN2ouVm94xCj1Py9YzhLK5/RYp0egnRXX3p0AN4/c6MkZSgxRPXuK Ixxg== ARC-Authentication-Results: i=1; mx.google.com; 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 gg35si3815596ejc.460.2021.05.06.22.30.08; Thu, 06 May 2021 22:30:45 -0700 (PDT) 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; 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 S233425AbhEGAyf (ORCPT + 99 others); Thu, 6 May 2021 20:54:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbhEGAyc (ORCPT ); Thu, 6 May 2021 20:54:32 -0400 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A01C2C061574; Thu, 6 May 2021 17:53:33 -0700 (PDT) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94 #2 (Red Hat Linux)) id 1leokC-00C2LI-7e; Fri, 07 May 2021 00:53:28 +0000 Date: Fri, 7 May 2021 00:53:28 +0000 From: Al Viro To: Linus Torvalds Cc: Ilya Dryomov , Jeff Layton , ceph-devel@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [GIT PULL] Ceph updates for 5.13-rc1 Message-ID: References: <20210506143312.22281-1-idryomov@gmail.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-kernel@vger.kernel.org On Thu, May 06, 2021 at 10:51:33AM -0700, Linus Torvalds wrote: > On Thu, May 6, 2021 at 7:33 AM Ilya Dryomov wrote: > > > > There is a merge conflict in fs/ceph/dir.c because Jeff's inode > > type handling patch went through the vfs tree together with Al's > > inode_wrong_type() helper. for-linus-merged has the resolution. > > Actually, the linux-next resolution looks wrong - or at least > unnecessary - to me. > > The conversion to d_splice_alias() means that the IS_ERR() test is now > pointless, because d_splice_alias() handles an error-pointer natively, > and just returns the error back with ERR_CAST(). > > So the proper resolution seems to be to just drop the IS_ERR(). Agreed; -next resolution is not wrong per se, but it's not needed - d_splice_alias(ERR_PTR(e), d) == ERR_PTR(e) for any e in -4095..-1, so the variant of resolution in mainline merge will do the right thing.