Date: Fri, 11 Sep 2015 04:20:05 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287648 - head/sys/kern Message-ID: <201509110420.t8B4K5Cu093354@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Sep 11 04:20:04 2015 New Revision: 287648 URL: https://svnweb.freebsd.org/changeset/base/287648 Log: bufdonebio is now unused. Retire it too. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ============================================================================== --- head/sys/kern/vfs_bio.c Fri Sep 11 04:02:05 2015 (r287647) +++ head/sys/kern/vfs_bio.c Fri Sep 11 04:20:04 2015 (r287648) @@ -3768,24 +3768,6 @@ bufwait(struct buf *bp) } } - /* - * Call back function from struct bio back up to struct buf. - */ -static void -bufdonebio(struct bio *bip) -{ - struct buf *bp; - - bp = bip->bio_caller2; - bp->b_resid = bip->bio_resid; - bp->b_ioflags = bip->bio_flags; - bp->b_error = bip->bio_error; - if (bp->b_error) - bp->b_ioflags |= BIO_ERROR; - bufdone(bp); - g_destroy_bio(bip); -} - /* * bufdone: *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509110420.t8B4K5Cu093354>