diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index a2bef5c81033..058a44865beb 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -494,7 +494,7 @@ void umount_tree(struct vfsmount *mnt, int propagate, struct list_head *kill) | |||
494 | p->mnt_namespace = NULL; | 494 | p->mnt_namespace = NULL; |
495 | list_del_init(&p->mnt_child); | 495 | list_del_init(&p->mnt_child); |
496 | if (p->mnt_parent != p) | 496 | if (p->mnt_parent != p) |
497 | mnt->mnt_mountpoint->d_mounted--; | 497 | p->mnt_mountpoint->d_mounted--; |
498 | change_mnt_propagation(p, MS_PRIVATE); | 498 | change_mnt_propagation(p, MS_PRIVATE); |
499 | } | 499 | } |
500 | } | 500 | } |