summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-07-17 14:54:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-10 12:21:55 -0700
commit3af9ac3e2251ef2424bc4745fa27458bf134da3c (patch)
treee0ec67e8b76b02d626b4f8deb39e1c37e3ea4cf7 /include
parent4647b34f1a3b08b70f8e20436c7dbec721d47f35 (diff)
mnt: In detach_mounts detach the appropriate unmounted mount
commit fe78fcc85a2046c51f1535710996860557eeec20 upstream. 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. Fixes: ce07d891a0891d3c0d0c2d73d577490486b809e1 mnt: Honor MNT_LOCKED when detaching mounts Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions