mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00: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:
parent
2144440327
commit
a05964f391
5 changed files with 128 additions and 20 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue