Project

General

Profile

Bug #2102 » 0001-add-NULL-check-for-inode-pointer.patch

Anonymous, 10/19/2011 09:50 PM

View differences:

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