diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-03-02 17:49:09 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-05-19 23:25:48 -0400 |
commit | 70f8d9c5750bbb0ca4ef7e23d6abcb05e6061138 (patch) | |
tree | d4f1e7a2ac7b47d0729699c7c72524dc98d5a9ad /include/linux/mount.h | |
parent | 279b192c23d2fc9cb9e8c3851d6cad968f51789f (diff) | |
download | linux-70f8d9c5750bbb0ca4ef7e23d6abcb05e6061138.tar.gz linux-70f8d9c5750bbb0ca4ef7e23d6abcb05e6061138.tar.bz2 linux-70f8d9c5750bbb0ca4ef7e23d6abcb05e6061138.zip |
move mount-related externs from fs.h to mount.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/mount.h')
-rw-r--r-- | include/linux/mount.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index b3b149dcbf96..55a4abaf6715 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -108,6 +108,18 @@ extern void mark_mounts_for_expiry(struct list_head *mounts); extern dev_t name_to_dev_t(const char *name); extern bool path_is_mountpoint(const struct path *path); +extern bool our_mnt(struct vfsmount *mnt); + +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 *); +extern long do_mount(const char *, const char __user *, + const char *, unsigned long, void *); +extern struct vfsmount *collect_mounts(const struct path *); +extern void drop_collected_mounts(struct vfsmount *); +extern int iterate_mounts(int (*)(struct vfsmount *, void *), void *, + struct vfsmount *); extern void kern_unmount_array(struct vfsmount *mnt[], unsigned int num); #endif /* _LINUX_MOUNT_H */ |