From patchwork Mon Sep 8 12:41:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: roy.qing.li@gmail.com X-Patchwork-Id: 4861731 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4AF5FC0338 for ; Mon, 8 Sep 2014 12:41:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 341DA2011B for ; Mon, 8 Sep 2014 12:41:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 122D82010E for ; Mon, 8 Sep 2014 12:41:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753739AbaIHMlL (ORCPT ); Mon, 8 Sep 2014 08:41:11 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:36891 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752665AbaIHMlK (ORCPT ); Mon, 8 Sep 2014 08:41:10 -0400 Received: by mail-pa0-f41.google.com with SMTP id bj1so1762030pad.14 for ; Mon, 08 Sep 2014 05:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=Fj8f7DtdLigqDVExaE98zZuWZNN8nhXc47QF3gbpYmQ=; b=Jc25zVtVPCxaRkbamD14zUqLx9j08jb9Dyv/kWX11fylBt+ugbBs9tGBC9bhl77FpN Ys/vrVZIHppS+tkN9hI9z0xIm8JMs5MJbRok8gwvEEYNAkp4ErNTyUBzYpy/1R9Hp5kR Gndjkg7RYNNRje+1U12b0BEhL/WZyWlPknGNU5ZKzH+HaJVbmSUHES7Kyjc/mA0KSEr1 eZ/BTbTDXx9d85kcCfhZwegyuhqfTug2GeJ2RyAqf7II+wYWf7lzxAO0cc2GOtVYAq2d WEGNgsM53iTJ9kMEqv75dFoSDrHDVTHumz8z9a1U7vNFQUlwHytMfyTF31WM1rTxA8DN X5uQ== X-Received: by 10.70.131.40 with SMTP id oj8mr46855384pdb.47.1410180070383; Mon, 08 Sep 2014 05:41:10 -0700 (PDT) Received: from localhost ([1.202.252.122]) by mx.google.com with ESMTPSA id xj9sm9451667pab.40.2014.09.08.05.41.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 08 Sep 2014 05:41:09 -0700 (PDT) From: roy.qing.li@gmail.com To: linux-btrfs@vger.kernel.org Subject: [PATCH] btrfs: remove the wrong comments Date: Mon, 8 Sep 2014 20:41:09 +0800 Message-Id: <1410180069-25507-1-git-send-email-roy.qing.li@gmail.com> X-Mailer: git-send-email 1.7.10.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=-9.3 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: Li RongQing This comments became wrong after c3c532[bdi: add helper function for doing init and register of a bdi for a file system], so remove them. Signed-off-by: Li RongQing --- fs/btrfs/disk-io.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index d0ed9e6..ce8b8b6 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -1703,10 +1703,6 @@ static int btrfs_congested_fn(void *congested_data, int bdi_bits) return ret; } -/* - * If this fails, caller must call bdi_destroy() to get rid of the - * bdi again. - */ static int setup_bdi(struct btrfs_fs_info *info, struct backing_dev_info *bdi) { int err;