0001-add-NULL-check-for-inode-pointer.patch

Anonymous, 10/19/2011 09:50 PM

Download (850 Bytes)

View differences:

sys/vfs/ufs/ffs_vfsops.c
1027 1027
	/* Restart out whole search if this guy is locked
1028 1028
	 * or is being reclaimed.
1029 1029
	 */
1030
	if (vp->v_type == VNON || ((ip->i_flag &
1030
	if (vp->v_type == VNON || ip == NULL || ((ip->i_flag &
1031 1031
	     (IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0 &&
1032 1032
	     RB_EMPTY(&vp->v_rbdirty_tree))) {
1033 1033
		return(-1);
1034
-