have_submounts(9) 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

COPYRIGHT