diff options
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 783004af5707..419f746d851d 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -1562,6 +1562,7 @@ void __detach_mounts(struct dentry *dentry) | |||
1562 | goto out_unlock; | 1562 | goto out_unlock; |
1563 | 1563 | ||
1564 | lock_mount_hash(); | 1564 | lock_mount_hash(); |
1565 | event++; | ||
1565 | while (!hlist_empty(&mp->m_list)) { | 1566 | while (!hlist_empty(&mp->m_list)) { |
1566 | mnt = hlist_entry(mp->m_list.first, struct mount, mnt_mp_list); | 1567 | mnt = hlist_entry(mp->m_list.first, struct mount, mnt_mp_list); |
1567 | if (mnt->mnt.mnt_flags & MNT_UMOUNT) { | 1568 | if (mnt->mnt.mnt_flags & MNT_UMOUNT) { |