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 3E973C6FD18 for ; Fri, 31 Mar 2023 09:43:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231368AbjCaJn3 (ORCPT ); Fri, 31 Mar 2023 05:43:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231579AbjCaJnY (ORCPT ); Fri, 31 Mar 2023 05:43:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B6CDEB61; Fri, 31 Mar 2023 02:42:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E8C20626BB; Fri, 31 Mar 2023 09:42:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3E97C4339B; Fri, 31 Mar 2023 09:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680255743; bh=y87xyZCMd1W1yjQaxVv+iKe9SRDUeqhLoz5FppjxSlc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d5hDTbJ+gBS/Ug4zSYOmCSs5dPqePtZKLDcHOT17nlVNdfwPutORilUzz/38cNlyQ KsZa9xdZfux+JiaFmm/KXvESqGZsFIFmbFzRs3QvlsCouUA+jWOV6M8rksSD254PqH WGXqZmPGorQScZdi0hfej+zkOO5LILTPfFQZk3DY= Date: Fri, 31 Mar 2023 11:42:20 +0200 From: Greg Kroah-Hartman To: Christian Brauner Cc: Christoph Hellwig , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Joel Becker , Tejun Heo , Alexander Viro , v9fs-developer@lists.sourceforge.net, Chuck Lever , Phillip Potter , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] fs: consolidate duplicate dt_type helpers Message-ID: References: <20230330104144.75547-1-jlayton@kernel.org> <20230331-floss-occultist-0335eb57e847@brauner> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230331-floss-occultist-0335eb57e847@brauner> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Fri, Mar 31, 2023 at 10:16:20AM +0200, Christian Brauner wrote: > On Thu, Mar 30, 2023 at 06:41:43AM -0400, Jeff Layton wrote: > > There are three copies of the same dt_type helper sprinkled around the > > tree. Convert them to use the common fs_umode_to_dtype function instead, > > which has the added advantage of properly returning DT_UNKNOWN when > > given a mode that contains an unrecognized type. > > > > Cc: Chuck Lever > > Cc: Phillip Potter > > Suggested-by: Christian Brauner > > Signed-off-by: Jeff Layton > > --- > > Greg, Christoph, if you have a minute could you please take a look > again and re-add your acks? Acked-by: Greg Kroah-Hartman