Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1279282lqs; Sat, 15 Jun 2024 02:09:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVF5yG26rB3uHyrWBANhs2ETaNk8u3rXawnIR/wRlQSEDqLZe+3Cpidc4sz5dQuq5HNFd40HYUmjZDDZNbiDamKYhuVzuYOryrxAGqkZQ== X-Google-Smtp-Source: AGHT+IH/9fsx8T6+4b/UfjrJOoctWb6gF59pzns9r98kpxX0Vp1cIB1abH1Q23NjJQNm/687pNfO X-Received: by 2002:a05:6a20:f3a8:b0:1b6:1a81:5dad with SMTP id adf61e73a8af0-1bae7e9c52bmr4527881637.14.1718442546722; Sat, 15 Jun 2024 02:09:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718442546; cv=pass; d=google.com; s=arc-20160816; b=IZ9bKog/9D7gm6YwlAKYuvNX97AoHCyBwkDmo7IWPnIyhwgfmHVNfkkJj0RXIyCJUA 1OzUsJlXazvCAi+WVrWUxbPbGEptURbyF+7/EELEcH9nsg2GhL+Z5aMEtahC6kqm2ZFn 2BDKASRsdlHjlkClym9M6rzHt6D3ymVkofgClqajiCRiEvGh2vatXPbQKzuZXY1eN8Z6 eTQl32nzWV5ZbZbWxxhNlytKDYGdX1a+NfjVKIHZcpPu9WTr3Y9tptMnjx5SBpuY4Get +NRSoEQiWS6zLuzvrWpSKuoRqHVISRhQhPGJlm9Ni7t8/VkoWBfJG+jhAb/UEXiktekA wdOQ== 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=Ewv/lUU1C8csZZTchChyJDKI+EHR7TVXCVzLeQxBxNA=; fh=kFr1Dl15GHZ/xQ20c3UObsNOasu4DCX41emrSb+RVrg=; b=aAEQjhqdRsb4ic/3e5CtX7ulFYGdYxNAMG8h7wP7R7f/54wolnP5OdzILXTiDoZcgE njUfm2JgvGx331kmZXfc90qKaOXjJ5G7Xl9joLib5lxrTzELohaY5bKfNL7dgpuBOvTt 28flKf79RUxAhV3j9nR5ffZmOttxh8daV712UCbowys4SfWM4BUC4DNsid+Za/JA9jy7 kgohVJrIEXgkDyH36pJt5bHBQTb25IIJJfNPFaFOS+PSZO83x8rSv8jqedNATUbu6qW8 4utjEBsuYMnCRSeAzpsdyuYVPt8pWQM/IICLhiNKX/xBEWEHm9wO2034Ge8GLwl7uO4G cmiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=WwzXgvcX; 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-215754-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215754-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 sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f855e530c1si52670935ad.172.2024.06.15.02.09.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 02:09:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215754-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=@linux.org.uk header.s=zeniv-20220401 header.b=WwzXgvcX; 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-215754-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215754-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 25A7DB22947 for ; Sat, 15 Jun 2024 07:59:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFD2118044; Sat, 15 Jun 2024 07:59:25 +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="WwzXgvcX" 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 98A6A17BBE; Sat, 15 Jun 2024 07:59:21 +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=1718438365; cv=none; b=QAMPXC8p1D6eu45yZWnhQ1YP+k7CSTeMw6BlKLEE8KxJMOth+6c5AsQjWHou5buF3mXyQFvhun6Yd76RhA8dkXkENZ7OFeNNbPthYen+nvVyFdai00GAblVVHhFyR2CPgxjIYhUYEi2+51q2jC11P1OGGTJ1Usho/ghCyyWQ+F8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718438365; c=relaxed/simple; bh=XD6NEkLXoMXmOu+t+IhgS6fj1j4ej3Cs6eE4qHj7MNI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZTK31oiIRqTVNrD1YKuxx2jVbY9YZGa7Sj7augnoBwrliPJLXCZFFH9CXoydZzZnsR3ohkUAQBThWPgJwwcnchImAdO5lRfmoQwB06r9ao8nbhB8AOSnekX+u3zW8cewJc4hiufblO/RtgyX7/L0A+DpMQWifCVlG2lTKMP4hUE= 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=WwzXgvcX; 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=Ewv/lUU1C8csZZTchChyJDKI+EHR7TVXCVzLeQxBxNA=; b=WwzXgvcXARbpW5zc+lneOi2sd2 25xo3US7jRzkbV8L3DZGPTNbBa1WBBbgv4uerR45oNnjtmgEXMhp9Sn/MXW9tCOzPOAZU/5ceLwn5 TIHb0NKtMllt5SomQ05AioBI0r9oLYC64wQBDlDeW9n1i4B8SHi1Voy7W7PeEqkk9w3vHnnJ6JmLU mmrmJFgEJ9CTr1Z5hGrpoVzVYSJcNw//JtUn8q8ovSVcghKEMVOopZ0L2pdygLiOKdietdImJBduw Q7Jysj+ysFxDqPoE2e31tnHfLAb3Fzziel1BpJJEH1oroVnnmPanbNr5hgk3U9mySOqQIxmkWmarA k/bVJ16w==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1sIOJX-00A7V2-32; Sat, 15 Jun 2024 07:59:08 +0000 Date: Sat, 15 Jun 2024 08:59:07 +0100 From: Al Viro To: Christoph Hellwig Cc: Congjie Zhou , brauner@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] fs: modify the annotation of vfs_mkdir() in fs/namei.c Message-ID: <20240615075907.GQ1629371@ZenIV> References: <20240615030056.GO1629371@ZenIV> <20240615065528.GP1629371@ZenIV> 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 12:31:49AM -0700, Christoph Hellwig wrote: > On Sat, Jun 15, 2024 at 07:55:28AM +0100, Al Viro wrote: > > It is an inode of _some_ dentry; it's most definitely not that > > of the argument named 'dentry'. > > No need to explain it here, the point was that this belongs into a > useful commit message. Seeing that fsdevel is archived, it might be worth spelling out, actually... Anyway, yes, something like "correct the inline descriptions of vfs_mkdir() et.al." ought to go into commit message. And it really ought to cover not just vfs_mkdir() - other similar comments from the same commit (6521f8917082 "namei: prepare for idmapped mounts") have similar issues. "Create a device node or file" for vfs_mknod() probably ought to be "Create a device node or other special file", while we are at it...