From patchwork Sun Dec 15 03:39:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Shilong X-Patchwork-Id: 3349861 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 1183F9F314 for ; Sun, 15 Dec 2013 03:39:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0113320709 for ; Sun, 15 Dec 2013 03:39:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CE7E420705 for ; Sun, 15 Dec 2013 03:39:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753967Ab3LODju (ORCPT ); Sat, 14 Dec 2013 22:39:50 -0500 Received: from mail-pb0-f47.google.com ([209.85.160.47]:47015 "EHLO mail-pb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753596Ab3LODjt (ORCPT ); Sat, 14 Dec 2013 22:39:49 -0500 Received: by mail-pb0-f47.google.com with SMTP id um1so4114385pbc.20 for ; Sat, 14 Dec 2013 19:39:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=jJVoikYFTJpw5tFN+AIi+V3+hPQo6nktTXT0yVzHUBI=; b=gR6BZ4rVlB8F9Fw6nqdGnBsZiQFC/D5LJbVX8QXIVKprQbicvhFp5gk5KYX2JdGDkG Y80NK+UZ4mToagYbnSDOJwfy5K0SJDZwSbtMKSTWbrFa01QVnTXPHLR/aWUegLNVEjem SyWu2rGAtZbwNCqf4Axfhd6TdUa0Y8vM27TZ7wINfpg/G8H+v3Zed7+6BPUsdLh3Twb+ 8V+Z6R5WfOzzbXzCpwNOk7Sn6K7q2nUe5VmMhlMekQjBiLcnqCOGzgpS8kYptgkSIQYE OP5+B6Q9IfW5izLefKNLoC5JD7F+pEOqhTHPXmPCqq0nxk0k+YaPiB+EdWsSfYnQpXf8 Azfw== X-Received: by 10.66.197.164 with SMTP id iv4mr12753191pac.18.1387078788950; Sat, 14 Dec 2013 19:39:48 -0800 (PST) Received: from linux-b0ol.localdomain ([223.65.141.59]) by mx.google.com with ESMTPSA id e6sm15973162pbg.4.2013.12.14.19.39.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Dec 2013 19:39:48 -0800 (PST) From: Wang Shilong To: linux-btrfs@vger.kernel.org Subject: [PATCH] Btrfs: remove dead comments for read_csums() Date: Sun, 15 Dec 2013 11:39:42 +0800 Message-Id: <1387078782-14979-1-git-send-email-wangshilong1991@gmail.com> X-Mailer: git-send-email 1.8.4 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.2 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 From: Wang Shilong Chris introduced hleper function read_csums() and this function has been removed, but we forgot to remove its corresponding comments. Signed-off-by: Wang Shilong --- fs/btrfs/inode.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index e889779..888b35e 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2543,12 +2543,6 @@ out_kfree: return NULL; } -/* - * helper function for btrfs_finish_ordered_io, this - * just reads in some of the csum leaves to prime them into ram - * before we start the transaction. It limits the amount of btree - * reads required while inside the transaction. - */ /* as ordered data IO finishes, this gets called so we can finish * an ordered extent if the range of bytes in the file it covers are * fully written.