View | Details | Raw Unified | Return to bug 225423 | Differences between
and this patch

Collapse All | Expand All

(-)sys/fs/devfs/devfs_vnops.c (-6 / +1 lines)
Lines 661-673 devfs_fsync(struct vop_fsync_args *ap) Link Here
661
			printf("Device %s went missing before all of the data "
661
			printf("Device %s went missing before all of the data "
662
			    "could be written to it; expect data loss.\n",
662
			    "could be written to it; expect data loss.\n",
663
			    de->de_dirent->d_name);
663
			    de->de_dirent->d_name);
664
665
			error = vop_stdfsync(ap);
666
			if (bo->bo_dirty.bv_cnt != 0 || error != 0)
667
				panic("devfs_fsync: vop_stdfsync failed.");
668
		}
664
		}
669
665
		return (error);
670
		return (0);
671
	}
666
	}
672
667
673
	return (vop_stdfsync(ap));
668
	return (vop_stdfsync(ap));

Return to bug 225423