diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-07-17 22:54:27 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2015-07-23 19:31:15 +0300 |
commit | fe78fcc85a2046c51f1535710996860557eeec20 (patch) | |
tree | c2b14e62175f897bb1157606796fef4dbd5dc9d3 /include/linux/err.h | |
parent | f2d0a123bcf16d1a9cf7942ddc98e0ef77862c2b (diff) | |
download | linux-fe78fcc85a2046c51f1535710996860557eeec20.tar.xz |
mnt: In detach_mounts detach the appropriate unmounted mount
The handling of in detach_mounts of unmounted but connected mounts is
buggy and can lead to an infinite loop.
Correct the handling of unmounted mounts in detach_mount. When the
mountpoint of an unmounted but connected mount is connected to a
dentry, and that dentry is deleted we need to disconnect that mount
from the parent mount and the deleted dentry.
Nothing changes for the unmounted and connected children. They can be
safely ignored.
Cc: stable@vger.kernel.org
Fixes: ce07d891a0891d3c0d0c2d73d577490486b809e1 mnt: Honor MNT_LOCKED when detaching mounts
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/err.h')
0 files changed, 0 insertions, 0 deletions