---
name: "have_submounts"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/have_submounts"
---

# have\_submounts(9)

check for mounts over a dentry

## NAME

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

## COPYRIGHT
