Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1165958lqs; Fri, 14 Jun 2024 19:00:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSJ+TUn9JN5wMlZIMGg3LAHpy8nxBAHzilB+x9OAqSPyYBS5cke0ocAdXrUeRXJlC6/dztTY84Tka6SEKGdzIdqTGvMzrxqNBsGRB+Sw== X-Google-Smtp-Source: AGHT+IFmey4UJ80NyfYS9c0zOhE6Njtt4YoOdkCRzV+thZct581Uhapac+ufkJC99XN9nrFx8c2X X-Received: by 2002:a25:ce53:0:b0:dfd:fefb:5b34 with SMTP id 3f1490d57ef6-dff153a7b3dmr4341790276.24.1718416857140; Fri, 14 Jun 2024 19:00:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718416857; cv=pass; d=google.com; s=arc-20160816; b=gMd96QcBKegrfft9/mdKaccqRkCezOR+Fa0Ww5BXV1Y/kVLE/HaiQHAkjroB7TKppb QtNAAtTL8uvhJHf2iiL4Nnn1Xuwgu2lMhV7udHs3sXbNoqd5QYoyfpRLVexCiQ+Fg8JQ UMO9fW9zy0veAOqovOwNhIjstJXDmRZLaOxLYh7BsKTgcNYgrFIvyBwoJ+SahmZV5ueI gRtVndXqXmuS2FcSWgJIXgTMuz22i+poeFwno02CdQVZ+1lDulJ6x59etdK04iyH/yII M9kC0CxhpzXWAZ2/Yupb0rdv1iYr+ZfIHRNmbR7XKmP8ZDR56HKmjgrEizb0a27UyGmF SFtg== 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:date:subject:cc:to:from :message-id:dkim-signature; bh=DJDeMoW5K5uNcfOJ2hT7v2SrNoqRd/4YkoDeJ+9atGg=; fh=oy6PA11dNv4/xKLqzZPdrCFyJ1aP/mpNssAxOyRzq8w=; b=RPoEYE3CHTbTbL8E7EvuvF2mFbENxQHuvc3GcUxAgRk/0/hxTlUcoR2rYhVCegFin6 M9d+G83IlEAw0A2ZvNUpneCyknFcnEMYOPQAmfZltuSZM5wPZqI5qWEVM4FQJyIIt1Mh GmGHfpY5PvKRBE2W19P7qcbYX5MVif+ywMnMkjPwuWlkbQCtJTobcfawiAaP3rmKrEYq aatwa+jZU+eLy2XKREqL6kJOaF2y94Fk89Ql+P1Hbax/Ve9rfpH2LAQb8LY1tBm7xlxl pRb7BZdon5+nRKzwhZU+EtQoEGTCxcIszy4Y4/1SdOV0G4TlCUyyee97u0oAOR/05JyX CMSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b="eJ+iZr/r"; 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-215651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-441f2fb6f94si48713621cf.412.2024.06.14.19.00.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 19:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b="eJ+iZr/r"; 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-215651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215651-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D475B1C20953 for ; Sat, 15 Jun 2024 02:00:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D4458825; Sat, 15 Jun 2024 02:00:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="eJ+iZr/r" Received: from out162-62-58-211.mail.qq.com (out162-62-58-211.mail.qq.com [162.62.58.211]) (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 71F4E173; Sat, 15 Jun 2024 02:00:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.62.58.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718416842; cv=none; b=jvQSIUT58T1r097tRlEEojvYzcWlIhucWce0rBWDHT2m5Gco/2/lByRhgO+A6Ax7mDTTt/L4FTmrF1Y1CLU1ceLZRdp5R9CUvHmrEwtQv9cdZm0lU7ZFmCgC6d/n6/hiflfLuddtJeGGMdYzWMtQHUCevG8bMbXxmejV2i114+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718416842; c=relaxed/simple; bh=9ISOyBLtHHQ46y4nFfeB+yVtWI0bgXWueaPVsR6AzWs=; h=Message-ID:From:To:Cc:Subject:Date:MIME-Version; b=T3cMapBxCsG4fYdH7uNJg5NnkQmhQkXyu8pwudGe6dS4SbFFyzgWIOTsnNVeRF9bLEPN+KRi8MrWe5mvPfQslYro6NZ70xJJqTOr44ARC/0ShJizaiwLOE61Jjm8pG0CFhmNYCiI55GGMkSbZISQQEPUFLWLPsnAqV/o9ysiwR8= 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=eJ+iZr/r; arc=none smtp.client-ip=162.62.58.211 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=1718416824; bh=DJDeMoW5K5uNcfOJ2hT7v2SrNoqRd/4YkoDeJ+9atGg=; h=From:To:Cc:Subject:Date; b=eJ+iZr/rgqwtXgFk/sEqime0C5k4yE25U/jmnPEWAWC/8q2BqQQGkIFqM+trlrh/H z5pt1UltGnF0s/dWrhlidi16ao47Q/QVBvoX6ivKxUfJPxtxz0hMG4LUSqEa7aXr+U 3lGGRD7MmGdll1d1Px69VDD81OXZlcTCIqn7xkt0= Received: from ubuntu.. ([36.129.28.219]) by newxmesmtplogicsvrszc5-2.qq.com (NewEsmtp) with SMTP id 169DCBE; Sat, 15 Jun 2024 10:00:22 +0800 X-QQ-mid: xmsmtpt1718416822tqw4lq6li Message-ID: X-QQ-XMAILINFO: OZZSS56D9fAjfSY+ydDZN+BXeDP30J0wj4xtvlDZEaDgl4/hAdFzBnXHuaOzt3 UZfpMFDC2otftaIGkqU17cEcwh5z9dupvR5HLjTRs2ifVNov15Y1eBrPSsIqVXOzc7EUDvRt41t7 sGiPEpiN3fqm9mgu0Bgw4AWnuz1Oxfxw5QH5CGa+9iEhYF2gV426OC2D6eLVaQ/5zzFku8YEgU5O STGfVajBIANG8WDCA46MOmoqw8LasEKQAOfvM8JPmO2jmbjBuFQYCkx9uLIuujtAO4x6e/9sUG4U QfwsoONDMDVhkNTEWCmJU/RTognfjO/5unSq2khU3LHjaLFoGJy30vldq/sL2eJQkeQHIWTVc5hH P/mI7TnME8qK9dM/TsoBnPrSu8KbNIUSFKt9Hjy/qeXiIwbC+I9RDW2bZh+RcnsQEMnoldsVFYs+ AL5wxCgLHQkLDAIuctUdFesJsKxgb/JgA31BBhTgGHTTt91LNeEvLnjcNt6/56jAhGkwB93R1Ijv a1zqwcColL86vdO+bWPL6GIytjAzNMPswsAH3lQ2KV3McgQx/ViG/iwTDe4GvaThs9b905DzHas4 owEXaNsPl5s7OjRy69GZVyXenZdfez7BwdjJfp6fgx5QyOsR5eVH34VkWDSIuzZwNycqqSDkcfTt 3bvn0Rsb1d8AwnYiMX6t+YdHf4nf1TallFrRSKAY6GU15cHXw9CPo2hXsBNZzsubvDrr6UA1uFWK R65k1VWbTmwnri6MloM/fLi1XrNFOUKZV2uBk3JgwCavCEfuTEXAhaiRPAZKljfmQW9y3824ZsSs 1uamwi4UAgWdjdiMT0N4IfAWe2npvEj+NcdrRwfvvHqjwSd2+y0zonfB6j+p0l2MercIQBMpkE/s McmFhadDLvBLq2SrHvrOhWNfgMSs6Y83oPrvt5KUt75MObJllPFdRx9IzHrIvTL65stMSI/FYujc yJp+yTofAiwqr8WbP62Gr/JFHh5w/XG84DWXvoRQuJxWqtUSX/oz6H1ryWXQdthKkXd+OlzyiEEs iulhXFVRwdcbOuQ+CJ4zw7b+OZoXc= X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w= From: Congjie Zhou To: linux-fsdevel@vger.kernel.org Cc: viro@zeniv.linux.org.uk, brauner@kernel.org, linux-kernel@vger.kernel.org, Congjie Zhou Subject: [PATCH] fs: modify the annotation of vfs_mkdir() in fs/namei.c Date: Sat, 15 Jun 2024 09:59:13 +0800 X-OQ-MSGID: <20240615015913.14461-1-zcjie0802@qq.com> X-Mailer: git-send-email 2.34.1 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..eda889f0c 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 parent dentry of @dentry + * @dentry: pointer to dentry of the new directory * @mode: mode of the new directory * * Create a directory. -- 2.34.1