]> err.no Git - linux-2.6/blobdiff - fs/namespace.c
[PATCH] edac: disable a few sysfs files to avoid them becoming an ABI
[linux-2.6] / fs / namespace.c
index a2bef5c8103359322278350a6ea7beb926aed926..058a44865bebdad95cb9416eefcedd1dd1473c25 100644 (file)
@@ -494,7 +494,7 @@ void umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill)
                p->mnt_namespace = NULL;
                list_del_init(&p->mnt_child);
                if (p->mnt_parent != p)
-                       mnt->mnt_mountpoint->d_mounted--;
+                       p->mnt_mountpoint->d_mounted--;
                change_mnt_propagation(p, MS_PRIVATE);
        }
 }