struct mount *mnt;
bool is_covered = false;
- if (!d_mountpoint(dentry))
- goto out;
-
down_read(&namespace_sem);
lock_ns_list(ns);
list_for_each_entry(mnt, &ns->list, mnt_list) {
}
unlock_ns_list(ns);
up_read(&namespace_sem);
-out:
+
return is_covered;
}