svn commit: r313775 - head/sys/fs/devfs
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Feb 15 16:52:22 UTC 2017
Author: trasz
Date: Wed Feb 15 16:52:21 2017
New Revision: 313775
URL: https://svnweb.freebsd.org/changeset/base/313775
Log:
Change the "devfs_fsync: vop_stdfsync failed" from panic to a printf.
It's not a proper fix, but should be better than what we have now.
Since it got broken some six months ago it results in an incredibly
annoying and trivially reproducible panic every time eg an USB disk
gets disconnected.
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Modified:
head/sys/fs/devfs/devfs_vnops.c
Modified: head/sys/fs/devfs/devfs_vnops.c
==============================================================================
--- head/sys/fs/devfs/devfs_vnops.c Wed Feb 15 15:32:29 2017 (r313774)
+++ head/sys/fs/devfs/devfs_vnops.c Wed Feb 15 16:52:21 2017 (r313775)
@@ -693,7 +693,7 @@ devfs_fsync(struct vop_fsync_args *ap)
error = vop_stdfsync(ap);
if (bo->bo_dirty.bv_cnt != 0 || error != 0)
- panic("devfs_fsync: vop_stdfsync failed.");
+ printf("devfs_fsync: vop_stdfsync failed.");
}
return (0);
More information about the svn-src-head
mailing list