+1
-1
fs/dcache.c
+1
-1
fs/dcache.c
···
1681
1681
* copied and the copy passed in may be reused after this call.
1682
1682
*/
1683
1683
1684
-
struct dentry *__d_alloc(struct super_block *sb, const struct qstr *name)
1684
+
static struct dentry *__d_alloc(struct super_block *sb, const struct qstr *name)
1685
1685
{
1686
1686
struct dentry *dentry;
1687
1687
char *dname;
+1
-1
fs/fcntl.c
+1
-1
fs/fcntl.c
-1
fs/internal.h
-1
fs/internal.h
···
151
151
/*
152
152
* dcache.c
153
153
*/
154
-
extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
155
154
extern int d_set_mounted(struct dentry *dentry);
156
155
extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
157
156
extern struct dentry *d_alloc_cursor(struct dentry *);
+3
-3
fs/namespace.c
+3
-3
fs/namespace.c
···
2356
2356
return file;
2357
2357
}
2358
2358
2359
-
SYSCALL_DEFINE3(open_tree, int, dfd, const char *, filename, unsigned, flags)
2359
+
SYSCALL_DEFINE3(open_tree, int, dfd, const char __user *, filename, unsigned, flags)
2360
2360
{
2361
2361
struct file *file;
2362
2362
struct path path;
···
3514
3514
* Note the flags value is a combination of MOVE_MOUNT_* flags.
3515
3515
*/
3516
3516
SYSCALL_DEFINE5(move_mount,
3517
-
int, from_dfd, const char *, from_pathname,
3518
-
int, to_dfd, const char *, to_pathname,
3517
+
int, from_dfd, const char __user *, from_pathname,
3518
+
int, to_dfd, const char __user *, to_pathname,
3519
3519
unsigned int, flags)
3520
3520
{
3521
3521
struct path from_path, to_path;