search for: mnt_parent

Displaying 1 result from an estimated 1 matches for "mnt_parent".

Did you mean: get_parent
2011 Aug 26
1
Reg: Workaround to use pivot_root while using "rootfs" for "/" ?
...is EINVAL (Invalid arguments). I isolated the issue to this specific condition check within the system call. This is an code snippet from fs/namespace.c::pivot_root * error = -EINVAL; if (root.mnt->mnt_root != root.dentry) goto out2; /* not a mountpoint */ if (root.mnt->mnt_parent == root.mnt) << this represents a circular mount reference goto out2; /* not attached */ if (new.mnt->mnt_root != new.dentry) goto out2; /* not a mountpoint */ if (new.mnt->mnt_parent == new.mnt) goto out2; /* not attached */ * This issue occurs for...