Name

path_has_submounts — check for mounts over a dentry in the current namespace.

Synopsis

int path_has_submounts (const struct path * parent);
 

Arguments

const struct path * parent

path to check.

Description

Return true if the parent or its subdirectories contain a mount point in the current namespace.