mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
[PATCH] shared mounts handling: umount
An unmount of a mount creates a umount event on the parent. If the parent is a shared mount, it gets propagated to all mounts in the peer group. Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -29,4 +29,6 @@ static inline void set_mnt_shared(struct vfsmount *mnt)
|
||||
void change_mnt_propagation(struct vfsmount *, int);
|
||||
int propagate_mnt(struct vfsmount *, struct dentry *, struct vfsmount *,
|
||||
struct list_head *);
|
||||
int propagate_umount(struct list_head *);
|
||||
int propagate_mount_busy(struct vfsmount *, int);
|
||||
#endif /* _LINUX_PNODE_H */
|
||||
|
Reference in New Issue
Block a user