Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1217431lqs; Fri, 14 Jun 2024 22:27:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwau00IEqZrnkQ5oERaO+EI/fPz2q42BGq5oGd/vSmQk1KDnerMzDDCAsoK1t7q5RrI+khiKzsUeeav8BFuY/+7CNgkCu/KllRucxJzw== X-Google-Smtp-Source: AGHT+IG2VBezl99is2kT88zwFPaU3tmBI1GW+9b6UUBATsf8nOcYaPteGUVB+GjaawSRa394gwxM X-Received: by 2002:a05:6a21:3213:b0:1b7:92d7:3391 with SMTP id adf61e73a8af0-1bae7f0c289mr4908047637.34.1718429250143; Fri, 14 Jun 2024 22:27:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718429250; cv=pass; d=google.com; s=arc-20160816; b=B7ezTy8czot1VpgthuoYxip65ALKvojSnOcezgmb3Lqz6kSteRbOTaurJl0daNYC7Q p+oxJWdhZwmwaKSRn5qjqIem84uvReoj8T8kJ+aojvrANr71OzjSP+LsnNXtf11bL2Fq CcMuIYPnsi8zYOV6js4juQHu69KjfOooznen6wcg/O0DXtawTlhuFr3BYwVyZ5/LmFwt LLmd+VwIYJSxZa+5oU7UNR0m8GnyzYyVOMdvznItq2NOjKhxQDkmGgty1Qw6XwmVBlHl mTwI5E4MHFu8075I6FZ6SvlNXrRSRLDCrtcSNrYuy01mlynpivwAEFC2NBM4DJJXAYV8 m3zQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=ZsJ7xhppQH5+LnYTgIN6HdVAmzBaNnGhRqCh3NGY4oo=; fh=srC9gVT8byCMd4Jc1y5dWcZqbRvxTsbYv/V99b8d86Y=; b=wbMNWXgLdpNpN3dxSki1VLv7JwQ9XupNdewnIhjxrK9qv3024/0n7MTKjZtg9k1H6t mrjxHdHdaUXZNUbcVZrhP7w5iOr1Ker+FiFgth0UMQfoUPIal7YNXj60+s+ZHZlwrw+/ 930S02R53wLeJdXia+UoRhJhLMDlswNKdeHxiJaTPEtsYI6J770fodFA7nyiGkDD9oqF Qg2kekc69L3tIJqOJdXEOORTwCtOz0HW8rMVHvve+50fYiqgOyYAh9Lv6+UFyN7fTufG 5gVwO4Y0B9zOjvRQhGi4MMoDcMssX1j7otOW5QyzH5bo/DaGGlSBTGLyXRVwOgvJ+JmM 7e7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=BrTYbKPy; arc=pass (i=1 dkim=pass dkdomain=linux.org.uk dmarc=pass fromdomain=zeniv.linux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-215677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f855efdd59si48343035ad.449.2024.06.14.22.27.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 22:27:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=BrTYbKPy; arc=pass (i=1 dkim=pass dkdomain=linux.org.uk dmarc=pass fromdomain=zeniv.linux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-215677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2F4AB2856DC for ; Sat, 15 Jun 2024 03:01:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56203DDD2; Sat, 15 Jun 2024 03:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b="BrTYbKPy" Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [62.89.141.173]) (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 113703D60; Sat, 15 Jun 2024 03:00:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.89.141.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718420462; cv=none; b=m/FlacQaWCVOnRZXtUma16wpJ9nWj2eVnDzENqkG9vVZNCYXorS7LQlT6LaJtn7lUsWMQCnn0ty1TAgFEZuOGd6Z2s6IofeGV8DzvIYsozYOs+UvVXzFC2T0jWwe+1wgjJRwadE5mupEjElAyA2pQ2ga4obFBdpiqTnmH0FcLIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718420462; c=relaxed/simple; bh=4ujlhz/XYkTJNFgjnsc3JV1jf0DS2Z9t4U5pFdyr3RY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mXoRKJAe01l7FAiDRk7zLHY6mNUs3FZTZXFZAf2CrtFbKmsHwvK/1aJrt1dFMriU3ZFJlO3vgp/2H+RTqPzTQw078nnyvPHrcj71meGdfYZ0Lj0lbzPgFRucOlJHwu1eHSgR7c0RuAD3nr2YLXFF1GOkZenPh/jV7XZMgB0HT3o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zeniv.linux.org.uk; spf=none smtp.mailfrom=ftp.linux.org.uk; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b=BrTYbKPy; arc=none smtp.client-ip=62.89.141.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zeniv.linux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ftp.linux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ZsJ7xhppQH5+LnYTgIN6HdVAmzBaNnGhRqCh3NGY4oo=; b=BrTYbKPyNAr7Ks3zrM6z8/94BV hr46my+ajqDfsDgMb4Pnzi8o8vwASpKn20/gGSSttzmSQUFp69Lyg38cskOmgsN9gddZjFNwgAtl9 +RAnSpNbTa9DYbNuJnbPOprM6e7+q0QbTaurb8oOU5ivB7GAyG4c/ZpmVgGMfEfivgmp1R6lzngIf qm3MEXqE2cKoWFLq9p8BPGeybWZwdD7KfAX9KV3GHLCucilrk/Ixu21R5mgc9JFUeeCuAPCsyEGSS G9tGUVO4jGVIjW3skHPCcGpoDU8V7U9qzCalQa+qZEm+pv5YlAvYPl+wJqHQaxpoC9vmzp71BFLs1 1zz7gccQ==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1sIJey-009A1z-1Q; Sat, 15 Jun 2024 03:00:56 +0000 Date: Sat, 15 Jun 2024 04:00:56 +0100 From: Al Viro To: Congjie Zhou Cc: linux-fsdevel@vger.kernel.org, brauner@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fs: modify the annotation of vfs_mkdir() in fs/namei.c Message-ID: <20240615030056.GO1629371@ZenIV> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro On Sat, Jun 15, 2024 at 09:59:13AM +0800, Congjie Zhou wrote: > modify the annotation of @dir and @dentry > * 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 Ugh... How about 'inode of the parent directory' and 'dentry of the child to be' instead?