Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3787868iog; Tue, 28 Jun 2022 02:48:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tzXz2TpfD42rUrP7Mkl8G6I/jRg57da5pfXaO8ZjBPCYxmveiLfcVGgwl7DjkF/ZB2fZNA X-Received: by 2002:a05:6a02:117:b0:3fa:de2:357a with SMTP id bg23-20020a056a02011700b003fa0de2357amr16521434pgb.169.1656409730013; Tue, 28 Jun 2022 02:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656409730; cv=none; d=google.com; s=arc-20160816; b=YDvo+e51iu2lRQRz2MvnBGYjhmccDaflAzridzKddVPXVbXBggrGLKEfFUVEM03WjO mXwIogl58L85uKhy22ooqVJr2Wyxa1s4oYoMYiK5f+oZbNW9gjZw3Ma2h0sV8NJ2QAK6 jtupVwRsKydTZrrPb9hc/9nRotFQPKLDFHWbieHlABzdsSlu4NpueQcszor/zoa3lYF7 ugeYxGlxlE2MHXsBOCj3m/nYUtkXQbB3Tqev8ytTM81PV57+GuuXQyLor7Yk3p1KR0GX 3CrsuENFToaihA32zfYDbtQN4V3Ug06waMvmEiNEYx5j5pGCJoud+V6mYN9Fp8HKJmen IR0Q== 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=Foos19Z6dkFoWxgDVlDpE1JNL/9tOkcXUsKrn2MZ+vc=; b=QaXpuEeEb678L2mXo+ethjMTz+/pBqLgLML7us1bczXg7Q7qLe9nN2Trf3vFvd2RRk u/KqKExqV9QWAXYu3gA7aVAJj8whhS4CsYs0uW17pcBITJaeKZIFFgt0lRXEyjz5jNU8 yOIdMk0LLBM3iKlHV6yeOk8vbLSGluflnsIhJD0AoBItZAc/YOrSo1e6zOWEBBkO7Ioh w55XpnTpOmSsMRn9IC/XpsayDaFeYtqDMfeDgcj1nLptM6GKck+NEUl/Yi+jKuMY19O2 AGiweAD0vQpoCUYXcmEGw8akXrA9WsdD9HiWYl8Vet/tYo04EJ/0SKiI94Ksc1NTh02F aZpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lGbAXWP1; 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 be5-20020a170902aa0500b00153b2d164fbsi16547832plb.259.2022.06.28.02.48.35; Tue, 28 Jun 2022 02:48:50 -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=lGbAXWP1; 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 S1344467AbiF1Jr0 (ORCPT + 99 others); Tue, 28 Jun 2022 05:47:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344311AbiF1Jqg (ORCPT ); Tue, 28 Jun 2022 05:46:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8029325C6D; Tue, 28 Jun 2022 02:46:33 -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 ams.source.kernel.org (Postfix) with ESMTPS id 1C534B81D92; Tue, 28 Jun 2022 09:46:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FC66C341D1; Tue, 28 Jun 2022 09:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656409590; bh=Ms5JmO/YVveA71jHzxf9CpKV8ph43B9gY0cCetOz/GQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lGbAXWP1HHRzM4gQTAP86HupxxsnRqE9d3ydeGxprJnSkY/sSmWQgtQ8sEycyHc0H uRiYeU5QlC8R+gAGkTcRt8n2AfW+U6aqcWbHihVnlqmxT+zMP2o3AmOwwtH+lFKNxi LJ2u8Ur9VNgD4FO60fsoBnS5HCZUQIzJuuTJSA/y8ZdAnmmWYtMqZ0Cyic7wfN2RDM nOckaHhh6deQxudn90MfQIE2onYO9nWcgnUuYAe2hkVnQ6jumUX94cOUjNKDCuBjxN eKEIIAaiiGW2ddu4nxHB1oW7a2W/43mlgn48DCri+kOE6KsB53TwSoGW3UBo/vCJK/ dGqAnm+qHEwHA== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1o67nf-005HF4-Oc; Tue, 28 Jun 2022 10:46:27 +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 07/22] fs: namei: address some kernel-doc issues Date: Tue, 28 Jun 2022 10:46:11 +0100 Message-Id: <4a1bbfb71afc91ab643a74c5d3b16c4f506b35a1.1656409369.git.mchehab@kernel.org> 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.5 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 00/22] at: https://lore.kernel.org/all/cover.1656409369.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