Bug #2768 » hammer43.patch
sys/vfs/hammer/hammer_inode.c | ||
---|---|---|
* non-root filesystem paths and setting VROOT may
|
||
* confuse the namecache. Set VPFSROOT instead.
|
||
*/
|
||
if (ip->obj_id == HAMMER_OBJID_ROOT &&
|
||
ip->obj_asof == hmp->asof) {
|
||
if (ip->obj_localization == 0)
|
||
vsetflags(vp, VROOT);
|
||
else
|
||
if (ip->obj_id == HAMMER_OBJID_ROOT) {
|
||
if (ip->obj_asof == hmp->asof) {
|
||
if (ip->obj_localization == 0)
|
||
vsetflags(vp, VROOT);
|
||
else
|
||
vsetflags(vp, VPFSROOT);
|
||
} else {
|
||
vsetflags(vp, VPFSROOT);
|
||
}
|
||
}
|
||
vp->v_data = (void *)ip;
|
- « Previous
- 1
- 2
- 3
- Next »