[PATCH 7/8] autofs - use path_has_submounts() to fix unreliable have_submount() checks

2016-10-10 Thread Ian Kent
From: Ian Kent If an automount mount is clone(2)ed into a file system that is propagation private, when it later expires in the originating namespace, subsequent calls to autofs ->d_automount() for that dentry in the original namespace will return ELOOP until the mount is umounted in the cloned n

[RFC PATCH 7/8] autofs - use path_has_submounts() to fix unreliable have_submount() checks

2016-10-02 Thread Ian Kent
From: Ian Kent If an automount mount is clone(2)ed into a file system that is propagation private, when it later expires in the originating namespace, subsequent calls to autofs ->d_automount() for that dentry in the original namespace will return ELOOP until the mount is umounted in the cloned n