From patchwork Fri Jun 14 08:21:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Sheng-Hui X-Patchwork-Id: 2720551 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 778849F472 for ; Fri, 14 Jun 2013 08:29:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AEAA7201CF for ; Fri, 14 Jun 2013 08:29:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9B767201FA for ; Fri, 14 Jun 2013 08:29:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751474Ab3FNI3Y (ORCPT ); Fri, 14 Jun 2013 04:29:24 -0400 Received: from mail-qc0-f175.google.com ([209.85.216.175]:63383 "EHLO mail-qc0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259Ab3FNI3X (ORCPT ); Fri, 14 Jun 2013 04:29:23 -0400 Received: by mail-qc0-f175.google.com with SMTP id k14so167411qcv.20 for ; Fri, 14 Jun 2013 01:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qVZtFZZP3k9SGqksWW16qsMI5RZpbD1RaUFfqXalKaU=; b=e2RP7uXhtenHMHLMLZBmM3gu5qBZzMDMd1AHUWtrTaJ6qPsZLnyOp9kz4S54twURex 90gLz/gt6TTye8LM3QzSKYRQ3jjiAcywwFOrT7F+SfyVLJWD6WeWTmDae4F7hTYUPf2F W36ucNm6GWiN5pDUYv62GXDwZyN7v20MJEDoC8+SXnbOjDqJNYszj7A/YuRKU4oWZk84 afIjyQ5UIKPHd6xQiuASRpUeokjI7pHYN68UTl3tOiC3ukH4wutXDURjFw+8U3r1PSQQ Ewr+Vil+K7brjyDZc/E902HnJchPeKyAEiWSfkQlGN9HvGUbh/nSroM+p5JuW4kaN6Vx /6Ng== MIME-Version: 1.0 X-Received: by 10.224.3.10 with SMTP id 10mr1040141qal.85.1371198084187; Fri, 14 Jun 2013 01:21:24 -0700 (PDT) Received: by 10.49.38.195 with HTTP; Fri, 14 Jun 2013 01:21:24 -0700 (PDT) Date: Fri, 14 Jun 2013 16:21:24 +0800 Message-ID: Subject: [PATCH] Btrfs: fix the comment typo for btrfs_attach_transaction_barrier From: Wang Sheng-Hui To: Josef Bacik , chris.mason@fusionio.com, linux-btrfs@vger.kernel.org Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The comment is for btrfs_attach_transaction_barrier, not for btrfs_attach_transaction. Fix the typo. Signed-off-by: Wang Sheng-Hui Acked-by: Miao Xie --- fs/btrfs/transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) * will wait for all the inactive transactions until they fully diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 0544587..6d4c595 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -490,7 +490,7 @@ struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root) } /* - * btrfs_attach_transaction() - catch the running transaction + * btrfs_attach_transaction_barrier() - catch the running transaction * * It is similar to the above function, the differentia is this one