- FFS supports shared locks, clear LK_NOSHARE from our vnode locks.
Sponsored by: Isilon Systems, Inc.
This commit is contained in:
parent
e4d4b610ba
commit
322d56df72
@ -1216,9 +1216,10 @@ ffs_vget(mp, ino, flags, vpp)
|
||||
return (error);
|
||||
}
|
||||
/*
|
||||
* FFS supports recursive locking.
|
||||
* FFS supports recursive and shared locking.
|
||||
*/
|
||||
vp->v_vnlock->lk_flags |= LK_CANRECURSE;
|
||||
vp->v_vnlock->lk_flags &= ~LK_NOSHARE;
|
||||
vp->v_data = ip;
|
||||
vp->v_bufobj.bo_bsize = fs->fs_bsize;
|
||||
ip->i_vnode = vp;
|
||||
|
Loading…
Reference in New Issue
Block a user