summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorDavid Howells2018-11-02 00:07:26 +0100
committerAl Viro2019-02-28 09:29:36 +0100
commitd911b4585eb3501f752160e8e0f1bb00c3c7c4e5 (patch)
tree891f0ed03e927878a878d7339d09a1655e2d68e6 /include/linux/fs.h
parenthugetlbfs: Convert to fs_context (diff)
downloadkernel-qcow2-linux-d911b4585eb3501f752160e8e0f1bb00c3c7c4e5.tar.gz
kernel-qcow2-linux-d911b4585eb3501f752160e8e0f1bb00c3c7c4e5.tar.xz
kernel-qcow2-linux-d911b4585eb3501f752160e8e0f1bb00c3c7c4e5.zip
vfs: Remove kern_mount_data()
The kern_mount_data() isn't used any more so remove it. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 9d05c128ccf6..3e85cb8e8c20 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2280,8 +2280,7 @@ mount_pseudo(struct file_system_type *fs_type, char *name,
extern int register_filesystem(struct file_system_type *);
extern int unregister_filesystem(struct file_system_type *);
-extern struct vfsmount *kern_mount_data(struct file_system_type *, void *data);
-#define kern_mount(type) kern_mount_data(type, NULL)
+extern struct vfsmount *kern_mount(struct file_system_type *);
extern void kern_unmount(struct vfsmount *mnt);
extern int may_umount_tree(struct vfsmount *);
extern int may_umount(struct vfsmount *);