Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1206092lqs; Fri, 14 Jun 2024 21:39:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVxcQ7tmfl0rdxUv8oTSJya3AKbXfPylnFIdomZeVvDsbunbk1fVhbiQhTfe0IgDkWP52hDJwTB1/RHS7mC9PaofgCXh+/VreDuDKGE1Q== X-Google-Smtp-Source: AGHT+IEPk+/2F6RfMB+Z7cJ2AO9wOhFX84PkOR0qRw8f9hd0UPNGANWoqxL1Lxatqj/nRTM4H30B X-Received: by 2002:a05:6a21:616:b0:1b8:d79:55f6 with SMTP id adf61e73a8af0-1bae7ece8damr4329130637.25.1718426361198; Fri, 14 Jun 2024 21:39:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718426361; cv=pass; d=google.com; s=arc-20160816; b=S5CdofRhhFF/csZPrtvTqiryplQejv7idu9JTZV2oDLdjygCJMzsmlxOgjMix/zc0+ mdGDfLhZL6aUC4c7wqD+iUwCCt1xeG4G/rkIS9qQCl/SmEL6Q5JGMBBLAbdNw+ifMZRI Df7Y/Hypm2HxP1cmhNXJQ112RhWtUOrV43ezSi9IZ74aNfKMNjA8hIgjndDhTHqSrAzt E2YyiOpUFuV9v6eNzRX4RLUUT6uhziyN4U84F1uCA8YTBcL6qRqXhyQvsAJOzzzCo0pJ RFNAU7lC2zqWJquqtnRNt1Z7e4e6XVQJB05qUv+113mfZ0ETKPfY2Ur9AUTVm2Yi0YNg tSMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:date :subject:cc:to:from:message-id:dkim-signature; bh=TbnaeDCMFC8mDLM8U3qCPOGqIZSkpYEhQWHYBR3rMDc=; fh=DWG52DfwzEEX/RtVxcFUIIHlBheYOUiy4xdKMZGlabo=; b=LX3Q0Bp8j6PKIvdSptoPwmYLPFRVBPMgme/vD+blewhAXK2ixT5wCiNWFblG7YvlM5 bddGnUKpS7MR1O6L/Sz9vq4exYGDe4rNTFSDtkDTyWiwAAIFXmoyNzEMdmoaRAwwXe3t 1OEOD6XTxSHaY9z0+DoaANGweBEdPzrtkU2wBlylA3sStZjHwQL+etZ3dESphPhcrgft mF+aqqWSEXMBV49oRqH6Fmss3Oyh6ez2btsM6v4dS67LiXTT3uWbNecQ38DD9W2eZ2lx y5Af8kCCJWVbJnEkJrqCcGFKZ9bSx8jb7p+makrWmDLeV9v2Bj9eRbtpR8JuKQiJy3Nz rjcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=m8SymDI6; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-215700-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215700-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a76a5c41si6981980a91.123.2024.06.14.21.39.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 21:39:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215700-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=m8SymDI6; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-215700-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215700-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C0D4BB22A42 for ; Sat, 15 Jun 2024 04:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DD23FC12; Sat, 15 Jun 2024 04:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="m8SymDI6" Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DF0FD517; Sat, 15 Jun 2024 04:39:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.62.57.252 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718426348; cv=none; b=f/82qfvoDuSU46AQw799OQKs/y6jN/D3zcYhkyLnNT20rXSgqYBNjR5KHNM0o67H/PvSVttdnBSCIDrgpstterpxubWpcfB68WW6Kj1woxpw+Aqp2LL3N0nLoWwrNu2c+0Jlf8xYEf3YkSOxZwUd7Ty7T4XImFmnAGe+xaQqyU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718426348; c=relaxed/simple; bh=ZfBQKJ/zqEB12UpD+dypBmDQEFr7tmObzwDhgJfIaf0=; h=Message-ID:From:To:Cc:Subject:Date:In-Reply-To:References: MIME-Version; b=uGFbz/am9q9wu8Z+MF8r+zBZZuqh+q2BVOOt89CExf1Y5xw4MA8DO3NLQM5QR6SYlSAfys1MV8M33qrzRzpw3IZ0thIlMzA3u8Okq8N4wRhthhTNMOOUuvv8Q3fTCu2DZXML/IxQ/IPR/6XZVHR2siVjL5GmooI1w/8BmPBsLmo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com; spf=pass smtp.mailfrom=qq.com; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=m8SymDI6; arc=none smtp.client-ip=162.62.57.252 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qq.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1718426323; bh=TbnaeDCMFC8mDLM8U3qCPOGqIZSkpYEhQWHYBR3rMDc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=m8SymDI6YQKERJhfcxQzgyblQUSruJlrmKR/IBvoKZ/IroFB7dzWmYj+FZbiF2f9z 4+xwtJKk3Csm9JSWGaWs3ykylJEUBXMP8KBdxJcS0rhidPFGeyhXdSDFYGKFKN2P/B zG4ng5ew02Y2Iz6JX3scfQl+3HfOc4J/C7HLuHEs= Received: from ubuntu.. ([36.129.28.219]) by newxmesmtplogicsvrszc19-0.qq.com (NewEsmtp) with SMTP id 9A9930AD; Sat, 15 Jun 2024 12:38:41 +0800 X-QQ-mid: xmsmtpt1718426321txzl8iil9 Message-ID: X-QQ-XMAILINFO: NGZp1yYNf7Y+FIEqY/GtKlkQbX15go7mBJyJ77MNq3a0ks3yZyu+2yYtEFgQvp Cv37InPutOszHWUfBNT3lL1W3gvG1FvL3ZA7SqOlyCizbZ914XJhUrNPWKj2QrKZGGgHenHXPoJi 1RZA/vgQwVHTJVUB0ezcCpIIZTrT5DvhmOdAv7jTdzTtYfvdmdIQZn5ohPFCAPXwlf5lvV+TZRQ4 3jT21P0Mvd+BYcNN01KU87p7cgbG/tDic9i78KUODysKXyQDNvUIrfMU2dHgyH/9aMV2G6x7bgNU 5vLeb67G0zhz5YeUnVogst4bovG5XKtIR01tKeXf+zXOfuTBrV1Et8NTLYginZuciVVQTzwuqcb4 lWAG5LWTmoFyA81VXdaldS0skuz9E0xIeYrAj6ZuIEIDgayECnX/9VJHG8Gak6FdqDdJ0TSWBAST AbTocABs2TJ9MtEC6W9AYcyqT8alMytLGNmiHI5V+kh0nZa/41uiAD01GAxpg6GI/D35rauA4g8u PbwhbT+Z1Wkjlvm28x8hfSHGYXR6zSJ8MH0eXwzgIEKW27YGiasCemAzZdlIS48ImgD6wPhHMemH qQAs8PhFThHQevQATHfN1ygse5fhEqNtZKpwRpXISyfr54QBEgN7ZdLme0aIJVYqCEujE9Uzjnd4 y3Hx9IRmx4QIPV1tGgqJp7/huQnn/pIvoGU/nTnrLzkz0xSabu0ACxZ4FkgCcVwLcxpzxUzKF/VE dLJim8RZHZ3XjlBZfRE8qNJphWbrL9ghzVk3AEFNQi9uXO9RcaDpck/mW7+BD9yPIPcIjkvDhf4/ jdnL8qflpjNyWNy/rzb5J3cAWlremUKxIqnUK+kSVBOyaV34O9IWM1hJ/MDF0BuUEDR6RCw7/+NM z1Cp8KhSD528oNjE5daRKJu8P6Rz5CL+L4oAxN2ssZZO2r2L4vUuXaPRR3l7CXS6aWy6w28JA5wD 5xZNO5pujTS1RGYk4KXLNH4ZjrpPZJlRQgQz6AjD60GK7vm0fbzN56aF2ykJjV1xWoS7SHhm5ltA h+v3h/4VINbLgutI5HK/QTb1afZj0= X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs= From: Congjie Zhou To: viro@zeniv.linux.org.uk Cc: brauner@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, zcjie0802@qq.com Subject: [PATCH v2] fs: modify the annotation of vfs_mkdir() in fs/namei.c Date: Sat, 15 Jun 2024 12:38:32 +0800 X-OQ-MSGID: <20240615043832.9796-1-zcjie0802@qq.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240615030056.GO1629371@ZenIV> References: <20240615030056.GO1629371@ZenIV> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit modify the annotation of @dir and @dentry Signed-off-by: Congjie Zhou --- fs/namei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 37fb0a8aa..2fd3ba6a4 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -4095,8 +4095,8 @@ SYSCALL_DEFINE3(mknod, const char __user *, filename, umode_t, mode, unsigned, d /** * vfs_mkdir - create directory * @idmap: idmap of the mount the inode was found from - * @dir: inode of @dentry - * @dentry: pointer to dentry of the base directory + * @dir: inode of the parent directory + * @dentry: dentry of the child directory * @mode: mode of the new directory * * Create a directory. -- 2.34.1