]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[PATCH] kjournald keeps reference to namespace
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Sat, 18 Feb 2006 17:12:43 +0000 (18:12 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:27:38 +0000 (20:27 -0800)
commit5914811acf36c3ff091f860a6964808f668f27d0
tree04317a64fa5e76a13f29de655fe354abd627445d
parent6d7b9efacba9f4e5f4d5ca165b1a4350da52ddd7
[PATCH] kjournald keeps reference to namespace

In daemonize() a new thread gets cleaned up and 'merged' with init_task.
The current fs_struct is handled there, but not the current namespace.

This adds the namespace part.

[ Eric Biederman pointed out the namespace wrappers, and also notes that
  we can't ever count on using our parents namespace because we already
  have called exit_fs(), which is the only way to the namespace from a
  process. ]

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Acked-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/exit.c