public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] delete a warning in function xfs_buf_readahead
@ 2011-03-30  3:28 Pan Weiping
  2011-03-30  3:44 ` Alex Elder
  0 siblings, 1 reply; 2+ messages in thread
From: Pan Weiping @ 2011-03-30  3:28 UTC (permalink / raw)
  To: aelder, xfs-masters, dchinner, hch, tj, jaxboe
  Cc: Pan Weiping, linux-kernel, xfs

/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: Pan Weiping <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 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;
 
-- 
1.7.4

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] delete a warning in function xfs_buf_readahead
  2011-03-30  3:28 [PATCH] delete a warning in function xfs_buf_readahead Pan Weiping
@ 2011-03-30  3:44 ` Alex Elder
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Elder @ 2011-03-30  3:44 UTC (permalink / raw)
  To: Pan Weiping; +Cc: jaxboe, linux-kernel, xfs, xfs-masters, dchinner, tj, hch

On Wed, 2011-03-30 at 11:28 +0800, Pan Weiping wrote:
> /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: Pan Weiping <panweiping3@gmail.com>
> ---
>  fs/xfs/linux-2.6/xfs_buf.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)

Thanks for sending this.  I already have a fix
in place.  I have not yet sent it to Linus yet
but will soon.

					-Alex

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-30  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-30  3:28 [PATCH] delete a warning in function xfs_buf_readahead Pan Weiping
2011-03-30  3:44 ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox