Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1755927pxp; Mon, 7 Mar 2022 01:31:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNI0NJ404s/M/hqkkwME2Cc7bfweLBE+1OQ+7cUwpklPrEiH1aZXATdm65yrzWjSKp/inG X-Received: by 2002:a17:906:d1c4:b0:6d5:83bb:f58a with SMTP id bs4-20020a170906d1c400b006d583bbf58amr8437979ejb.672.1646645496414; Mon, 07 Mar 2022 01:31:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646645496; cv=none; d=google.com; s=arc-20160816; b=rC7+irGNRZnF1aoD3WK+SaSmUrGMj543alKTfclZrgNYF1wlYZcAXi5KmMJuf/PA1v aXLJf4DC6xlXb3PGEvo/UJux/ht/PhLIw3JjXEIFrVlEGP7bwEzj0fqJYPv6LGhPaS1u p1r8SB+uTRXvOuyH7XKglEmldDSBpwnLFcu30w5P2qSWd+qiKz2l7s2CzqVWyNRc/WL+ sDO/o/d9tb1sdAYfHRQC37wqoLWj2ktsH9Ltnd/0LVkQE+rBs+KpKhE1K9aqHKOww8uQ DnLYtF7BrlGZlRmpobgaJ5+iTuui4sVduqNk8cEXXPlFv/H8q2KZkVMnFiyt4hiSvVGV kTSQ== 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; bh=Jm5BB7GdTakOAAEZ2V6xBtjM5aVSu9TKLwf6DeuJg5o=; b=wUtv4a9d36oclxJjTCoNOTJ8dhmlhtoDXHPypLguOwjbjPdTEFDJlaAH5eLlh0aSh+ lzCPup6AKRcU43ZYg9X/fjCRPiMLMnNgI5kzI1KSzCQCqfUEZKG8CHGilhuaWA169dh7 Zp0dCZ49+mnVzX/7o/fhHV+jcov6VrQo2WgHTypVPP36KefeS2ecfkDLtZsH4iFLNM2h BxOlVrSWmfrts++gc4u2IpH4BEk6XAI2tySpyR18QlzSlXLMmpoyrRtUfYHXIutvKvHO 7SUTJ8eoOjs6rjt7AkWcnVNtmKma0cB390+pPQN6fh1auvpM0H1KZPoiEnJoYmateYKH juUQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f18-20020a0564021e9200b00415c1658f57si9302258edf.594.2022.03.07.01.31.13; Mon, 07 Mar 2022 01:31:36 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234559AbiCGAnI (ORCPT + 99 others); Sun, 6 Mar 2022 19:43:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231548AbiCGAnH (ORCPT ); Sun, 6 Mar 2022 19:43:07 -0500 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 475C028E02; Sun, 6 Mar 2022 16:42:13 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0V6NhnNp_1646613727; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0V6NhnNp_1646613727) by smtp.aliyun-inc.com(127.0.0.1); Mon, 07 Mar 2022 08:42:10 +0800 From: Jiapeng Chong To: clm@fb.com Cc: josef@toxicpanda.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] btrfs: Fix non-kernel-doc comment Date: Mon, 7 Mar 2022 08:42:04 +0800 Message-Id: <20220307004204.25417-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Clean up the following clang-w1 warning: fs/btrfs/space-info.c:1594: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Trye to reserve metadata bytes from the block_rsv's space. fs/btrfs/space-info.c:1629: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Try to reserve data bytes for an allocation. fs/btrfs/space-info.c:1468: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Try to reserve bytes from the block_rsv's space. fs/btrfs/space-info.c:1375: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Do the appropriate flushing and waiting for a ticket. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- fs/btrfs/space-info.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c index 9652dd042c20..37b3b6f107ee 100644 --- a/fs/btrfs/space-info.c +++ b/fs/btrfs/space-info.c @@ -1372,7 +1372,7 @@ static void wait_reserve_ticket(struct btrfs_fs_info *fs_info, } /** - * Do the appropriate flushing and waiting for a ticket + * handle_reserve_ticket - Do the appropriate flushing and waiting for a ticket * * @fs_info: the filesystem * @space_info: space info for the reservation @@ -1465,7 +1465,7 @@ static inline bool can_steal(enum btrfs_reserve_flush_enum flush) } /** - * Try to reserve bytes from the block_rsv's space + * __reserve_bytes - Try to reserve bytes from the block_rsv's space * * @fs_info: the filesystem * @space_info: space info we want to allocate from @@ -1591,7 +1591,8 @@ static int __reserve_bytes(struct btrfs_fs_info *fs_info, } /** - * Trye to reserve metadata bytes from the block_rsv's space + * btrfs_reserve_metadata_bytes - Trye to reserve metadata bytes from + * the block_rsv's space * * @fs_info: the filesystem * @block_rsv: block_rsv we're allocating for @@ -1626,7 +1627,7 @@ int btrfs_reserve_metadata_bytes(struct btrfs_fs_info *fs_info, } /** - * Try to reserve data bytes for an allocation + * btrfs_reserve_data_bytes - Try to reserve data bytes for an allocation * * @fs_info: the filesystem * @bytes: number of bytes we need -- 2.20.1.7.g153144c