]> www.infradead.org Git - users/willy/linux.git/commitdiff
vfs: Remove kern_mount_data()
authorDavid Howells <dhowells@redhat.com>
Fri, 7 Sep 2018 06:41:00 +0000 (07:41 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 16:39:00 +0000 (17:39 +0100)
The kern_mount_data() isn't used any more so remove it.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/namespace.c
include/linux/fs.h

index 93e3300a9ee03c035c77196221e07f3e57c846ba..15133eec8aca6ffec2675b362f5dd094400e2d34 100644 (file)
@@ -3362,13 +3362,6 @@ struct vfsmount *kern_mount(struct file_system_type *type)
 }
 EXPORT_SYMBOL_GPL(kern_mount);
 
-struct vfsmount *kern_mount_data(struct file_system_type *type,
-                                void *data, size_t data_size)
-{
-       return vfs_kern_mount(type, SB_KERNMOUNT, type->name, data, data_size);
-}
-EXPORT_SYMBOL_GPL(kern_mount_data);
-
 /*
  * Move a mount from one place to another.
  * In combination with open_tree(OPEN_TREE_CLONE [| AT_RECURSIVE]) it can be
index b96fc68480ce097ca032743ccc878ceff7469bd1..4ca1b742faf1aff74c13021aa313f51ac8822c0f 100644 (file)
@@ -2227,7 +2227,6 @@ 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(struct file_system_type *);
-extern struct vfsmount *kern_mount_data(struct file_system_type *, void *, size_t);
 extern void kern_unmount(struct vfsmount *mnt);
 extern int may_umount_tree(struct vfsmount *);
 extern int may_umount(struct vfsmount *);