- Honor the flags argument passed to null_root(). The filesystem below
us will decide whether or not to grab a real shared lock.
This commit is contained in:
parent
0ba01198fc
commit
316ec7bb7f
@ -248,7 +248,7 @@ nullfs_root(mp, flags, vpp, td)
|
||||
return (EDEADLK);
|
||||
}
|
||||
#endif
|
||||
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td);
|
||||
vn_lock(vp, flags | LK_RETRY, td);
|
||||
*vpp = vp;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user