[PATCH] unshare system call -v5: unshare filesystem info
authorJANAK DESAI <janak@us.ibm.com>
Tue, 7 Feb 2006 20:58:59 +0000 (12:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:34 +0000 (16:12 -0800)
commit99d1419d96d7df9cfa56bc977810be831bd5ef64
tree994e2fe33cef91933d299af9c26ddb9a92da58f4
parentcf2e340f4249b781b3d2beb41e891d08581f0e10
[PATCH] unshare system call -v5: unshare filesystem info

If filesystem structure is being shared, allocate a new one and copy
information from the current, shared, structure.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c