Bug #2768 » hammer_inode.c.patch
sys/vfs/hammer/hammer_inode.c | ||
---|---|---|
* non-root filesystem paths and setting VROOT may
|
||
* confuse the namecache. Set VPFSROOT instead.
|
||
*/
|
||
/* FIXME: I do not need check if ip->pfsm is NULL, do I? */
|
||
if (ip->obj_id == HAMMER_OBJID_ROOT &&
|
||
ip->obj_asof == hmp->asof) {
|
||
(ip->obj_asof == hmp->asof || ip->pfsm->pfsd.mirror_flags & HAMMER_PFSD_SLAVE)) {
|
||
if (ip->obj_localization == 0)
|
||
vsetflags(vp, VROOT);
|
||
else
|