have_submounts (9) Linux Manual Page
have_submounts – check for mounts over a dentry
Synopsis
int have_submounts(struct dentry *parent);
Arguments
parent
-
- dentry to check.
Description
Return true if the parent or its subdirectories contain a mount point
