nuke: ignore internal directory listing when scanning for stale mounts in debugfs directory
kclient patchset:
introduces meta directory to add debugging entries. This needs to be filtered
when scanning ceph debugfs directory.
@@ -134,6 +134,10 @@ def stale_kernel_mount(remote):
'sudo', 'find',
'/sys/kernel/debug/ceph',
'-mindepth', '1',
+ run.Raw('!'),
+ '-path', '/sys/kernel/debug/ceph/meta',
+ run.Raw('!'),
+ '-path', '/sys/kernel/debug/ceph/meta/client_features',
'-type', 'd',
run.Raw('|'),
'read'
