From patchwork Tue Jul 4 04:46:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 115557 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp981159vqx; Mon, 3 Jul 2023 22:11:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlGzJblBCvhXolrtqTR6NDZvVnEgmeDqgyEJDUvSddOVAkgPLtQ5luK2DRsLprq9UzsqEIsH X-Received: by 2002:a05:6a00:130c:b0:663:f82b:c6d9 with SMTP id j12-20020a056a00130c00b00663f82bc6d9mr12194482pfu.22.1688447518113; Mon, 03 Jul 2023 22:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688447518; cv=none; d=google.com; s=arc-20160816; b=TEJsSFHD5shfQomW9ePfIGAKbw/Lwx3sMvjxjYmY54NYhMJ7VUbNSicMkLyWVj71by aAd5Mtw1UFtohL51MLXfclsnzScpzM/080GzXVN1vr5xPQdB/vlSJSEWmB//8M4zPlZh u0g2ussgGcPqfiIbhcfGj3VdICJpGvso9WLGooSdcDqQuAqpLo/EPL39CCJtQSuHAIMw pv/XMCscLZ0rNyiq5sFvgR8dFHscBJLsPFyCrRHXt9X1ftHmtOFObn2oA1yi/7bwSU+n 89gPpULu1kZUv7N25eyQZGqc4bFiht+tmtky4h0FmP74SVfIgn6kW2040JssE96NoFir OXOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=B4nvX/EnYj+edoXbvhTgiPbMRbiJCRZ7KDWEebyGAWg=; fh=vh5TslhW7//NP5aaJs/y4hWkI9eAA9g48v2qUjoPGXU=; b=Z3Q3nzsBndssAfQWRqJA8DDBvEM/BFchChq3JNV0dUjwt73MBN7qeegiJ5yWzl5j/K MMU8tV+k5HSPgunmWDVnrrrstksggSaSbQqavlElc1fZmr+s2EkcBykEriTS1o7YnncY Xz2cVt3w9lMip1vjp0ahVpmIf98HCbH+PQKt/B4G6tRtutSyZqYJ5YDGI8bIwPQzJpNb 7n/fDBfOQ6G0lYcINdF/XxJZwSPG4lgD6ZcQv0NKSk6AxCHzMIJ1xvX51cUQ8aG/3GzS 8tFDZFBMLW0ZaBrvT5+QtboPfCZQmb538nkbHK1+FiywAbQ5gv8ByH1qidFXxyJAyO6s pp+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zsaxWMEx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bw27-20020a056a00409b00b0064d419dd566si18389343pfb.205.2023.07.03.22.11.45; Mon, 03 Jul 2023 22:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zsaxWMEx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230301AbjGDEq5 (ORCPT + 99 others); Tue, 4 Jul 2023 00:46:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230406AbjGDEqu (ORCPT ); Tue, 4 Jul 2023 00:46:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE498E7A; Mon, 3 Jul 2023 21:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=B4nvX/EnYj+edoXbvhTgiPbMRbiJCRZ7KDWEebyGAWg=; b=zsaxWMEx9PdbhQ+BdmET2A32r2 rykIJlIQ/2csXBUMiXFlQgVDV/mLf6UQfDnsiOd2fljwzSD8dR6dbiLvcEDT8Vsl28Q+z0OUZOSwm qkicqsB5G8buxX5OTnkXhVsD/jFKt8DoDZghbZ7NUWWHR1FT0dFtVXcDuSd4CPevLc9wNuyjkPzx8 4a5Of9aokHO68U4xTv7yF3Ahii9hrAv33ve/bUifK9UXzPqLD9dbyk/YdUKBTCamTOk+0ZwdcWras nzCaM/JIn0Mw7otjuu8r++9vJz8xRJeXDjROWoJebb/TDqvWT7CN16IKuJaSkjc42p8VkWzRjTCqi cWUS0KTg==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qGXw6-00C9DI-0x; Tue, 04 Jul 2023 04:46:46 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Stephen Rothwell , Christian Brauner , Chuck Lever , linux-fsdevel@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] libfs: fix table format warning Date: Mon, 3 Jul 2023 21:46:43 -0700 Message-ID: <20230704044643.8622-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770465544629420113?= X-GMAIL-MSGID: =?utf-8?q?1770465544629420113?= Drop the unnecessary colon to make the table formatting correct. The colons are not needed and this file uses them sometimes and doesn't at other times. Generally they are not preferred in documentation tables IMO. Also extend the table line widths to match the table text. Fixes: 7a3472ae9614 ("libfs: Add directory operations for stable offsets") Signed-off-by: Randy Dunlap Reported-by: Stephen Rothwell Link: https://lore.kernel.org/linux-next/20230704135149.014516c7@canb.auug.org.au/T/#u Cc: Christian Brauner Cc: Chuck Lever Cc: linux-fsdevel@vger.kernel.org Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/filesystems/locking.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -- a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst --- a/Documentation/filesystems/locking.rst +++ b/Documentation/filesystems/locking.rst @@ -90,9 +90,9 @@ prototypes:: locking rules: all may block -============== ============================================= +============== ================================================== ops i_rwsem(inode) -============== ============================================= +============== ================================================== lookup: shared create: exclusive link: exclusive (both) @@ -116,8 +116,8 @@ atomic_open: shared (exclusive if O_CREA tmpfile: no fileattr_get: no or exclusive fileattr_set: exclusive -get_offset_ctx: no -============== ============================================= +get_offset_ctx no +============== ================================================== Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_rwsem