MFC rev 1.136 and 1.137
Submitted by: tegge Approved by: re
This commit is contained in:
parent
07ad715e98
commit
25763ae2a7
@ -951,6 +951,12 @@ ffs_valloc(pvp, mode, cred, vpp)
|
||||
ip->i_din2->di_birthnsec = ts.tv_nsec;
|
||||
}
|
||||
ip->i_flag = 0;
|
||||
vnode_destroy_vobject(*vpp);
|
||||
(*vpp)->v_type = VNON;
|
||||
if (fs->fs_magic == FS_UFS2_MAGIC)
|
||||
(*vpp)->v_op = &ffs_vnodeops2;
|
||||
else
|
||||
(*vpp)->v_op = &ffs_vnodeops1;
|
||||
return (0);
|
||||
noinodes:
|
||||
UFS_UNLOCK(ump);
|
||||
|
Loading…
Reference in New Issue
Block a user