delete a warning in function xfs_buf_readahead
PATCH 1/1 delete a warning in function xfs_buf_readahead
/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 <[email protected]>
--- fs/xfs/linux-2.6/xfs_buf.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
fs/xfs/linux-2.6/xfs_buf.c +0 -2
@@ -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;
Signature · 6 lines
1.7.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 8 lines · Pan Weiping
/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 <[email protected]>--- 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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs