diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:14:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-18 10:35:37 -0800 |
commit | 6525ee71dd12e626b41051c7165d71849a9d1de0 (patch) | |
tree | 145e9ed16f8466c0c7ca46eb244be44ab8738e75 /fs/namespace.c | |
parent | 2e01c83c927f252503349e196ae7d70f55040260 (diff) | |
download | lwn-6525ee71dd12e626b41051c7165d71849a9d1de0.tar.gz lwn-6525ee71dd12e626b41051c7165d71849a9d1de0.zip |
System call wrappers part 14
commit 3480b25743cb7404928d57efeaa3d085708b04c2 upstream.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index d7a35100e87d..efe02517654b 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2179,8 +2179,8 @@ static void chroot_fs_refs(struct path *old_root, struct path *new_root) * though, so you may need to say mount --bind /nfs/my_root /nfs/my_root * first. */ -asmlinkage long sys_pivot_root(const char __user * new_root, - const char __user * put_old) +SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, + const char __user *, put_old) { struct vfsmount *tmp; struct path new, old, parent_path, root_parent, root; |