summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-12-15 00:44:44 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-01-04 16:28:32 +0100
commitb40ef8696fbbb1107fbe5f4afc21c357f16e5ffc (patch)
tree711f011eb2df41f6a83282fcb7b2561d672a252b /fs/internal.h
parentfix the leak in integrity_read_file() (diff)
downloadlinux-b40ef8696fbbb1107fbe5f4afc21c357f16e5ffc.tar.xz
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 *);