Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp870099ybz; Fri, 24 Apr 2020 10:36:36 -0700 (PDT) X-Google-Smtp-Source: APiQypJCBn+NUBkmy6fEF2F1G3cNworkJOpB1YTyp/4XBSgMyI9eLlxyi3AWqn1mh6/3EfRQJFmv X-Received: by 2002:aa7:c608:: with SMTP id h8mr8665884edq.232.1587749796558; Fri, 24 Apr 2020 10:36:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587749796; cv=none; d=google.com; s=arc-20160816; b=q1vuGOeDAfGsTMv3fXRBekPGk78h27yxn4XLYremYR41kHTPuT2h5x+A1DXhy+4dJg l5Gm4EJ/JIe3ukgFoxm7sTDAdEoh20767XFKdPlJPdzMC30dCZ72sYvJvFeeqj/I2GL4 El6BfJUx8Q2vJ1XOioCJNM5JVsbbOCPoK2E9FUkSsGgH8hhXvc6KkUx9kKzO0uHUn9mn j52kWm4eyzGo5Q4VkFm7JlE0mK2ieR+nf62idQafeQMs1iDfDucDSDVjV8eAyxWV+DHL p8OXd6SpywkfPiHskkU1sWckQ+5r/0XmTLhKG7lfYa7Cha517+Bg/D1uQZucuUMvNWN8 aV4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from; bh=jczFRM7lSWvgbZ2TWDZnMVKtP6uP43jxxQL7OCYbLTY=; b=fVBf9euYzk5sVoKqhHYMf5F8yyfGBA8MWBoAczXpM1vjPTK+YI9JUl9ld5W5OxVesr gwYm/5LVtTApZw2WUqTs8KcPrSUltefjsspOgxipxh+d86Y9vhA+1bxnusEhx2SLTNkI joyVS8d0OCL8Q1qXowM55Y3gPxDoudqWQHiPHyMOVLeMXWRliX0G9CV9ThQWZnvmeih5 tCbHzjIN2Qc5Cg/tkyLJEaM3fWekASHI+We5xBspF2cv0a+DzvEAg8tM3oUHp91VPfFe 1mSfNlUJj3bGfdS055ljC/EHu4SbI1snhdsWoJlOjWlRBjPRyc3J4JO9IVPS2o7HHdt2 VNOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y90si3534255ede.610.2020.04.24.10.36.12; Fri, 24 Apr 2020 10:36:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728119AbgDXRe2 (ORCPT + 99 others); Fri, 24 Apr 2020 13:34:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726813AbgDXRe1 (ORCPT ); Fri, 24 Apr 2020 13:34:27 -0400 X-Greylist: delayed 292 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 24 Apr 2020 10:34:27 PDT Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90E22C09B047; Fri, 24 Apr 2020 10:34:27 -0700 (PDT) Received: from [87.115.41.34] (port=58114 helo=slartibartfast.quignogs.org.uk) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jS2DU-0008N6-Ag; Fri, 24 Apr 2020 18:34:24 +0100 From: Peter Lister Subject: Re: [PATCH v2 08/29] docs: filesystems: convert configfs.txt to ReST To: Mauro Carvalho Chehab , Linux Doc Mailing List Cc: linux-kernel@vger.kernel.org, Jonathan Corbet , Greg Kroah-Hartman , Joel Becker , Christoph Hellwig , linux-usb@vger.kernel.org References: <278a9befc98b49ea866c9b687d070c70cde20628.1587487612.git.mchehab+huawei@kernel.org> X-Mozilla-News-Host: news://nntp.lore.kernel.org Message-ID: <31da15f2-7755-3e56-d05c-1e3f388e0933@bikeshed.quignogs.org.uk> Date: Fri, 24 Apr 2020 18:34:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <278a9befc98b49ea866c9b687d070c70cde20628.1587487612.git.mchehab+huawei@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 14 X-Spam-Status: No, score=1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -configfs - Userspace-driven kernel object configuration. > +======================================================= > +Configfs - Userspace-driven Kernel oOject Configuration > +======================================================= Typo, presumably intended to be Object, not oOject? Why amend capitalisation as part of converting to REST? Normal Linux/Unix convention is lower case for things like filesystems. > -IMPORTANT: drop_item() is void, and as such cannot fail. When rmdir(2) > -is called, configfs WILL remove the item from the filesystem tree > -(assuming that it has no children to keep it busy). The subsystem is > -responsible for responding to this. If the subsystem has references to > -the item in other threads, the memory is safe. It may take some time > -for the item to actually disappear from the subsystem's usage. But it > -is gone from configfs. > +.. Important:: > + > + drop_item() is void, and as such cannot fail. When rmdir(2) > + is called, configfs WILL remove the item from the filesystem tree > + (assuming that it has no children to keep it busy). The subsystem is > + responsible for responding to this. If the subsystem has references to > + the item in other threads, the memory is safe. It may take some time > + for the item to actually disappear from the subsystem's usage. But it > + is gone from configfs. Using a REST admonition is probably OK but, again, why change case? The original author used shouting caps for IMPORTANT. A change can be argued for consistency or if there is an established preference for style. But, if so, that's a style patch, not a conversion.