kdbus: export needed symbols for out-of-tree support
[platform/kernel/linux-rpi.git] / fs / namespace.c
index 046b084..ee120e4 100644 (file)
@@ -1892,6 +1892,7 @@ struct vfsmount *collect_mounts(const struct path *path)
                return ERR_CAST(tree);
        return &tree->mnt;
 }
+EXPORT_SYMBOL_GPL(collect_mounts);
 
 static void free_mnt_ns(struct mnt_namespace *);
 static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *, bool);
@@ -1922,6 +1923,7 @@ void drop_collected_mounts(struct vfsmount *mnt)
        unlock_mount_hash();
        namespace_unlock();
 }
+EXPORT_SYMBOL_GPL(drop_collected_mounts);
 
 static bool has_locked_children(struct mount *mnt, struct dentry *dentry)
 {
@@ -1992,6 +1994,7 @@ int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg,
        }
        return 0;
 }
+EXPORT_SYMBOL_GPL(iterate_mounts);
 
 static void lock_mnt_tree(struct mount *mnt)
 {