diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-01-16 10:09:10 +0100 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-01-16 10:09:10 +0100 | 
| commit | af2519fb2298cdf7540082c36f4d8c66bbff103f (patch) | |
| tree | 1d290d28d42d42f9e693457762c4008988628060 /fs/namespace.c | |
| parent | 961d7d0ee5150e0197cc81c2a8884ecb230276e2 (diff) | |
| parent | 7cb36b6ccdca03bd87e8faca7fd920643dd1aec7 (diff) | |
Merge branch 'linus' into core/iommu
Conflicts:
	arch/ia64/include/asm/dma-mapping.h
	arch/ia64/include/asm/machvec.h
	arch/ia64/include/asm/machvec_sn2.h
Diffstat (limited to 'fs/namespace.c')
| -rw-r--r-- | fs/namespace.c | 13 | 
1 files changed, 6 insertions, 7 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index a40685d800a8..228d8c4bfd18 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1128,7 +1128,7 @@ static int do_umount(struct vfsmount *mnt, int flags)   * unixes. Our API is identical to OSF/1 to avoid making a mess of AMD   */ -asmlinkage long sys_umount(char __user * name, int flags) +SYSCALL_DEFINE2(umount, char __user *, name, int, flags)  {  	struct path path;  	int retval; @@ -1160,7 +1160,7 @@ out:  /*   *	The 2.0 compatible umount. No flags.   */ -asmlinkage long sys_oldumount(char __user * name) +SYSCALL_DEFINE1(oldumount, char __user *, name)  {  	return sys_umount(name, 0);  } @@ -2045,9 +2045,8 @@ struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns,  	return new_ns;  } -asmlinkage long sys_mount(char __user * dev_name, char __user * dir_name, -			  char __user * type, unsigned long flags, -			  void __user * data) +SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name, +		char __user *, type, unsigned long, flags, void __user *, data)  {  	int retval;  	unsigned long data_page; @@ -2172,8 +2171,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;  | 
