Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1371952imw; Sat, 9 Jul 2022 03:09:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tAniUJosX0lmRuC9vmSl7m5YHE+fiCU92ctbOEFueNQtGV/fPO8rBXHiwcpoxtopFPBLIN X-Received: by 2002:a63:c009:0:b0:415:d072:fb5d with SMTP id h9-20020a63c009000000b00415d072fb5dmr3188131pgg.591.1657361358816; Sat, 09 Jul 2022 03:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657361358; cv=none; d=google.com; s=arc-20160816; b=xQF6slas83/+NgJDC6D0p6XLJui63YTvYPb+crEmaz4Tac3DWE5zz1h7TjYIJHssQT AtXMnvJo0JnP0P3bvSdF+XhGE1WwVbi86Y4zHdXMn0ui5SMj+Ncsk7LTA1A6HRAhFQaB wRbqfJk7zsOKoXy7zkQ0F1EKw2OjXpzG1J0uM0znsD20Nu4mWpkn35G8yMNjJYCdI8qx VKuBdFuAiPQN6OigF2E9DKpaeY16hnJ60uL3AxS6tPg5BsB1NKJj6Cok6nw1B+vGzdu/ xOSOVPe0j/j8WMp2c2Ja65ZH9BzIJCYPNL8WapEEcJcPAyoNPEciiMIVBgIbN/xcIydy flBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vXzw1ksQ2+x8PRm3Hv5N4UDhCRG7IWg/Ome8XTRGlOM=; b=dS8x2H/Hij51vH+DeVEnCvTirKRnGir2ThAHCPMWVSqmqtG18ad1O+KVlAXZLgA+hb wIPZeGsmJPztj7xKxYdohQNtGt9u3zfALCe57vNVfo1MG1Fvttazenwk1Va2reNeAbji 2oSq9m3N2ypvDJawDXubvExro0t0cQCEJMVN8Cewu9cotOzNESMPW7B3RIKnz1VQADNZ QBvrK8XKF4DqmMxH8cDzj0+t/AcY0HWhv9369YZXqJHaeTeNZ8LntxFL3NB8NvwKJ8Gb QtLFpgD9vZQRSoQJcZ/uMFceNQ/niR173SDTOXhLfCpRFwu8xFXE1RK5EhtlgkfGR9hJ tt9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GKfzx3Sq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji5-20020a170903324500b0016be96dc614si1618806plb.493.2022.07.09.03.09.06; Sat, 09 Jul 2022 03:09:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GKfzx3Sq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229776AbiGIKHt (ORCPT + 99 others); Sat, 9 Jul 2022 06:07:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiGIKHk (ORCPT ); Sat, 9 Jul 2022 06:07:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CCDD4B0FA; Sat, 9 Jul 2022 03:07:40 -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 8DE7D60DE9; Sat, 9 Jul 2022 10:07:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F58FC341CE; Sat, 9 Jul 2022 10:07:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657361258; bh=dqYqnXuzEPE0mXihhCJPYUpFXM9zwpfA8rk6kSTuBCk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GKfzx3SqXsJGBAjpsgDp6mypn1L5oUbOzKatAFWraRL49e9nq1dnhRUIYWNjmdkCm ImzGorGOPul0XG+ZwWHru7Y4g2RqB/EBU18NdDa+7xUaTcju3MlMnoYnvDLhginzxn +WZ8YDUZtfzmJzYXBCzAsz+YsHbZZssFwR99l9Drs3XtOqSwxuJH5RhyHck9B+h5L4 Zk6yJRNPQKKap1ztitDAo47wA3Fi9ANOjwFY0nDxrNlj/pPyePAF34n8/tO07SOD4u 38DnHUEk76GYExc6lDMX/ymd43tkqJFmbaF5bPJPclBSU1yYX7mdS8a6hM8SpK9X4U H8lxc9/OPfztA== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oA7N9-004EGo-HT; Sat, 09 Jul 2022 11:07:35 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Mauro Carvalho Chehab" , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 08/21] fs: namei: address some kernel-doc issues Date: Sat, 9 Jul 2022 11:07:21 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are couple of symbols missing documentation: fs/namei.c:649: warning: Function parameter or member 'mnt' not described in 'path_connected' fs/namei.c:649: warning: Function parameter or member 'dentry' not described in 'path_connected' fs/namei.c:1089: warning: Function parameter or member 'inode' not described in 'may_follow_link' Document them. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/21] at: https://lore.kernel.org/all/cover.1657360984.git.mchehab@kernel.org/ fs/namei.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/namei.c b/fs/namei.c index 1f28d3f463c3..a8079d6250bc 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -640,6 +640,8 @@ static bool nd_alloc_stack(struct nameidata *nd) /** * path_connected - Verify that a dentry is below mnt.mnt_root + * @mnt: pointer to vfs mount + * @dentry: pointer to dentry to verify * * Rename can sometimes move a file or directory outside of a bind * mount, path_connected allows those cases to be detected. @@ -1072,6 +1074,7 @@ fs_initcall(init_fs_namei_sysctls); /** * may_follow_link - Check symlink following for unsafe situations * @nd: nameidata pathwalk data + * @inode: inode to check * * In the case of the sysctl_protected_symlinks sysctl being enabled, * CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is -- 2.36.1