* [PATCH 2/2] xfs:remove a warning in xfs_buf_readahead()
@ 2011-04-11 2:44 Weiping Pan(潘卫平)
0 siblings, 0 replies; only message in thread
From: Weiping Pan(潘卫平) @ 2011-04-11 2:44 UTC (permalink / raw)
To: aelder, xfs-masters, dchinner, hch, jaxboe, tj, xfs
Cc: linux-kernel, Weiping Pan
/home/pwp/mysvn/linux/linux-2.6/fs/xfs/linux-2.6/xfs_buf.c: In function
‘xfs_buf_readahead’:
/home/pwp/mysvn/linux/linux-2.6/fs/xfs/linux-2.6/xfs_buf.c:660:27: warning:
unused variable ‘bdi’
Signed-off-by: Weiping Pan(潘卫平) <panweiping3@gmail.com>
---
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 5ea4020..a125b32 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;
--
1.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-11 2:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-11 2:44 [PATCH 2/2] xfs:remove a warning in xfs_buf_readahead() Weiping Pan(潘卫平)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).