Date: Wed, 21 Feb 2007 12:55:30 +0300 From: "Alexey Karakuts" <sys@bsdportal.ru> To: freebsd-fs@freebsd.org Subject: The patch delete no umount eject flash disk freebsd panic Message-ID: <4d3557900702210155n2f57761fl6b8b4df500a1cf77@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
#The patch delete flash disk freebsd panic
#Any questions send email sys@bsdportal.ru Alexey N. Karakuts
--- /sys/geom/geom_vfs.c Mon Mar 13 03:05:29 2006
+++ geom_vfs.c Wed Dec 6 19:42:46 2006
@@ -70,16 +70,9 @@
struct buf *bp;
int vfslocked;
- if (bip->bio_error) {
- printf("g_vfs_done():");
- g_print_bio(bip);
- printf("error = %d\n", bip->bio_error);
- }
bp = bip->bio_caller2;
bp->b_error = bip->bio_error;
bp->b_ioflags = bip->bio_flags;
- if (bip->bio_error)
- bp->b_ioflags |= BIO_ERROR;
bp->b_resid = bp->b_bcount - bip->bio_completed;
g_destroy_bio(bip);
vfslocked = VFS_LOCK_GIANT(((struct mount *)NULL));
--
__________________________________________
Administrator BSDPORTAL.RU Alexey N. Karakuts
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d3557900702210155n2f57761fl6b8b4df500a1cf77>
