[PATCH 2/2] autofs4 - use simple_empty() for empty directory check

2012-12-13 Thread Ian Kent
For direct (and offset) mounts, if an automounted mount is manually umounted the trigger mount dentry can appear non-empty causing it to not trigger mounts. This can also happen if there is a file handle leak in a user space automounting application. This happens because, when a ioctl control

[PATCH 2/2] autofs4 - use simple_empty() for empty directory check

2012-12-13 Thread Ian Kent
For direct (and offset) mounts, if an automounted mount is manually umounted the trigger mount dentry can appear non-empty causing it to not trigger mounts. This can also happen if there is a file handle leak in a user space automounting application. This happens because, when a ioctl control