regression fix: vfs lookup passes incorrect chroot information after crossing mountpoints
This commit is contained in:
parent
021808b12a
commit
e08b38a5c4
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ node_details_t *node;
|
||||||
dir_ino = dir_vp->v_inode_nr;
|
dir_ino = dir_vp->v_inode_nr;
|
||||||
/* Is the process' root directory on the same partition?,
|
/* Is the process' root directory on the same partition?,
|
||||||
* if so, set the chroot directory too. */
|
* if so, set the chroot directory too. */
|
||||||
if (fp->fp_rd->v_dev == fp->fp_wd->v_dev)
|
if (dir_vp->v_dev == fp->fp_rd->v_dev)
|
||||||
root_ino = fp->fp_rd->v_inode_nr;
|
root_ino = fp->fp_rd->v_inode_nr;
|
||||||
else
|
else
|
||||||
root_ino = 0;
|
root_ino = 0;
|
||||||
|
|
Loading…
Reference in a new issue