X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with SMTP id p2U3Nxvo005812 for ; Tue, 29 Mar 2011 22:23:59 -0500 X-ASG-Debug-ID: 1301455628-5d7201ee0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail-wy0-f181.google.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3C9531DFB28D; Tue, 29 Mar 2011 20:27:09 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by cuda.sgi.com with ESMTP id 40TBmifiO991lXSF; Tue, 29 Mar 2011 20:27:09 -0700 (PDT) Received: by wyi11 with SMTP id 11so755015wyi.26 for ; Tue, 29 Mar 2011 20:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :mime-version:content-type:content-transfer-encoding; bh=kwouwdN9g7Jci9d4OL4L0g80CFzAdkEY6Xy0FryXlPw=; b=eAZ5MsZ1sXlXoqfHPWPqLAQlUTjtygIQPdFSHuQL6xYai5WCTXKwvZdh+h669tZBIP 3Z5Mnc5G+efkr0rnmCgg9HEYh3WHWcJaPEis6W+bjyZyo7hyOELVCi3UXt3iBLSACbDJ 9oifJOjBH9obsWkuct2yPq0qjs9GtlNZ7vR6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=sMXx3CbH4wTaPza/SOcZwLHp482hBjd2Oq9Q5UXr8sHK1bQPSVMWlzTrnCr02ETTar tEgT/R7qeveICp+RibL6dG45MgRqR22SgDdgEYdCLh3UaxzBWPaWzJQlPnanisxkfe5m +Wdqcoe2ZtCYxhKqJSdnUItjdpqPJlXgOVmec= Received: by 10.216.245.131 with SMTP id o3mr557091wer.97.1301455628542; Tue, 29 Mar 2011 20:27:08 -0700 (PDT) Received: from localhost.localdomain.com ([60.247.97.98]) by mx.google.com with ESMTPS id bs4sm2767805wbb.18.2011.03.29.20.27.03 (version=SSLv3 cipher=OTHER); Tue, 29 Mar 2011 20:27:07 -0700 (PDT) From: Pan Weiping To: aelder@sgi.com, xfs-masters@oss.sgi.com, dchinner@redhat.com, hch@lst.de, tj@kernel.org, jaxboe@fusionio.com Cc: xfs@oss.sgi.com, linux-kernel@vger.kernel.org, Pan Weiping X-ASG-Orig-Subj: [PATCH] delete a warning in function xfs_buf_readahead Subject: [PATCH] delete a warning in function xfs_buf_readahead Date: Wed, 30 Mar 2011 11:28:06 +0800 Message-Id: <1301455686-21517-1-git-send-email-panweiping3@gmail.com> X-Mailer: git-send-email 1.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Barracuda-Connect: mail-wy0-f181.google.com[74.125.82.181] X-Barracuda-Start-Time: 1301455630 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=DKIM_SIGNED, DKIM_VERIFIED X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.59369 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- -0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean /home/pwp/mysvn/linux/linux-2.6/fs/xfs/linux-2.6/xfs_buf.c: In function =E2=80=98xfs_buf_readahead=E2=80=99: /home/pwp/mysvn/linux/linux-2.6/fs/xfs/linux-2.6/xfs_buf.c:660:27: warnin= g: unused variable =E2=80=98bdi=E2=80=99 Signed-off-by: Pan Weiping --- fs/xfs/linux-2.6/xfs_buf.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index 596bb2c..d917146 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c @@ -657,8 +657,6 @@ xfs_buf_readahead( xfs_off_t ioff, size_t isize) { - struct backing_dev_info *bdi; - if (bdi_read_congested(target->bt_bdi)) return; =20 --=20 1.7.4