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 9C721C433EF for ; Wed, 30 Mar 2022 15:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348157AbiC3P1W (ORCPT ); Wed, 30 Mar 2022 11:27:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346876AbiC3P1V (ORCPT ); Wed, 30 Mar 2022 11:27:21 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAF34198EFC; Wed, 30 Mar 2022 08:25:36 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id B787768AA6; Wed, 30 Mar 2022 17:25:32 +0200 (CEST) Date: Wed, 30 Mar 2022 17:25:32 +0200 From: Christoph Hellwig To: Christian Brauner Cc: Amir Goldstein , Christoph Hellwig , Miklos Szeredi , Al Viro , linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org, Aleksa Sarai , Giuseppe Scrivano , Rodrigo Campos Catelin , Seth Forshee , Luca Bocassi , Lennart Poettering , =?iso-8859-1?Q?St=E9phane?= Graber Subject: Re: [PATCH v2 01/19] fs: add two trivial lookup helpers Message-ID: <20220330152532.GA4835@lst.de> References: <20220330102409.1290850-1-brauner@kernel.org> <20220330102409.1290850-2-brauner@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220330102409.1290850-2-brauner@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-unionfs@vger.kernel.org > + > +/* > + * Like lookup_positive_unlocked() but takes a mount's idmapping into account. > + */ Can you add a real kerneldoc comment here instead of referring to another function that will hopefully be removed rather sooner than later? > +struct dentry *lookup_one_unlocked(struct user_namespace *, const char *, struct dentry *, int); > +struct dentry *lookup_one_positive_unlocked(struct user_namespace *, const char *, struct dentry *, int); Please spellt out the parameter names and avoid the overy long lines. Otherwise looks good: Reviewed-by: Christoph Hellwig