Unexport do_add_mount() and add in follow_automount(), not ->d_automount()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / mount.h
index 1869ea24a739cc8f96d69d2defbe79b63d70e253..af4765ea8fde64856ba47b635edfdd015a91b871 100644 (file)
@@ -110,12 +110,7 @@ extern struct vfsmount *vfs_kern_mount(struct file_system_type *type,
                                      int flags, const char *name,
                                      void *data);
 
-struct nameidata;
-
-struct path;
-extern int do_add_mount(struct vfsmount *newmnt, struct path *path,
-                       int mnt_flags, struct list_head *fslist);
-
+extern void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list);
 extern void mark_mounts_for_expiry(struct list_head *mounts);
 
 extern dev_t name_to_dev_t(char *name);