Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16969
b: refs/heads/master
c: 4a0d11f
h: refs/heads/master
i:
  16967: 799d8d8
v: v3
  • Loading branch information
Neil Brown authored and Linus Torvalds committed Jan 9, 2006
1 parent 4c3e71e commit 21e8129
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c809406b4f2dfac9006d7eb8dca6b9f990f10b61
refs/heads/master: 4a0d11fae57989e24fe2ee3eff6d62d72db9716c
4 changes: 4 additions & 0 deletions trunk/fs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,10 @@ static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd)
* pointed to by put_old must yield the same directory as new_root. No other
* file system may be mounted on put_old. After all, new_root is a mountpoint.
*
* Also, the current root cannot be on the 'rootfs' (initial ramfs) filesystem.
* See Documentation/filesystems/ramfs-rootfs-initramfs.txt for alternatives
* in this situation.
*
* Notes:
* - we don't move root/cwd if they are not at the root (reason: if something
* cared enough to change them, it's probably wrong to force them elsewhere)
Expand Down

0 comments on commit 21e8129

Please sign in to comment.