check_submounts_and_drop(9)

check_submounts_and_drop9

Prune dcache, check for submounts and drop

Usage

int check_submounts_and_drop(struct dentry * dentry);

Arguments

dentry

dentry to prune and drop

Overview

All done as a single atomic operation relative to has_unlinked_ancestor. Returns 0 if successfully unhashed parent. If there were submounts then return -EBUSY.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.