Re: nanobsd / dd problem?
On Mon, Dec 9, 2013 at 5:42 AM, Konstantin Belousov <kostikbel@gmail.com>wrote:
>
>
>
> The patch below should be a right thing to do anyway.
>
> diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
> index c23a74b..b7c4d60 100644
> --- a/sys/kern/vfs_bio.c
> +++ b/sys/kern/vfs_bio.c
> @@ -3679,7 +3679,6 @@ bufdonebio(struct bio *bip)
>
> bp = bip->bio_caller2;
> bp->b_resid = bp->b_bcount - bip->bio_completed;
> - bp->b_resid = bip->bio_resid; /* XXX: remove */
> bp->b_ioflags = bip->bio_flags;
> bp->b_error = bip->bio_error;
> if (bp->b_error)
>
Problem fixed with your patch for me too: Thanks.
Olivier
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 8 之 9 篇):