diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-15 00:44:44 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-04 16:28:32 +0100 |
commit | b40ef8696fbbb1107fbe5f4afc21c357f16e5ffc (patch) | |
tree | 711f011eb2df41f6a83282fcb7b2561d672a252b /fs/internal.h | |
parent | fix the leak in integrity_read_file() (diff) | |
download | linux-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.h | 2 |
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 *); |