]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/namespace.c
namespace: update event counter when umounting a deleted dentry
[karo-tx-linux.git] / fs / namespace.c
index 4fb1691b435552c044134b56aa2032da35684b5b..298618b88bba5d8b31239aecf0538d79c7c82064 100644 (file)
@@ -1562,6 +1562,7 @@ void __detach_mounts(struct dentry *dentry)
                goto out_unlock;
 
        lock_mount_hash();
+       event++;
        while (!hlist_empty(&mp->m_list)) {
                mnt = hlist_entry(mp->m_list.first, struct mount, mnt_mp_list);
                if (mnt->mnt.mnt_flags & MNT_UMOUNT) {