summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-12-14 18:44:44 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-01-04 10:28:32 -0500
commitb40ef8696fbbb1107fbe5f4afc21c357f16e5ffc (patch)
tree711f011eb2df41f6a83282fcb7b2561d672a252b /fs/internal.h
parentcc4e719e83cd4149bc96b7e1d1a73fe61797df6e (diff)
downloadlinux-b40ef8696fbbb1107fbe5f4afc21c357f16e5ffc.tar.gz
linux-b40ef8696fbbb1107fbe5f4afc21c357f16e5ffc.tar.bz2
linux-b40ef8696fbbb1107fbe5f4afc21c357f16e5ffc.zip
saner calling conventions for copy_mount_options()
let it just return NULL, pointer to kernel copy or ERR_PTR(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 71859c4d0b41..aa81316aaf47 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -55,7 +55,7 @@ extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
/*
* namespace.c
*/
-extern int copy_mount_options(const void __user *, unsigned long *);
+extern void *copy_mount_options(const void __user *);
extern char *copy_mount_string(const void __user *);
extern struct vfsmount *lookup_mnt(struct path *);