projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm/huge_memory.c: use head to emphasize the purpose of page
[linux-2.6-microblaze.git]
/
fs
/
namespace.c
diff --git
a/fs/namespace.c
b/fs/namespace.c
index
2fd0c8b
..
5e1bf61
100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-1728,7
+1728,7
@@
static bool is_mnt_ns_file(struct dentry *dentry)
dentry->d_fsdata == &mntns_operations;
}
dentry->d_fsdata == &mntns_operations;
}
-struct mnt_namespace *to_mnt_ns(struct ns_common *ns)
+st
atic st
ruct mnt_namespace *to_mnt_ns(struct ns_common *ns)
{
return container_of(ns, struct mnt_namespace, ns);
}
{
return container_of(ns, struct mnt_namespace, ns);
}
@@
-3325,8
+3325,8
@@
struct dentry *mount_subtree(struct vfsmount *m, const char *name)
}
EXPORT_SYMBOL(mount_subtree);
}
EXPORT_SYMBOL(mount_subtree);
-
int ksys_mount(const char __user *dev_name, const char __user *
dir_name,
-
const 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 ret;
char *kernel_type;
{
int ret;
char *kernel_type;
@@
-3359,12
+3359,6
@@
out_type:
return ret;
}
return ret;
}
-SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name,
- char __user *, type, unsigned long, flags, void __user *, data)
-{
- return ksys_mount(dev_name, dir_name, type, flags, data);
-}
-
/*
* Create a kernel mount representation for a new, prepared superblock
* (specified by fs_fd) and attach to an open_tree-like file descriptor.
/*
* Create a kernel mount representation for a new, prepared superblock
* (specified by fs_fd) and attach to an open_tree-like file descriptor.