check_submounts_and_drop
Prev | The Directory Cache | Next

## Name

check_submounts_and_drop — prune dcache, check for submounts and drop

## Synopsis

`int check_submounts_and_drop (` | struct dentry * dentry`)`;

## Arguments

`dentry`

  dentry to prune and drop

## Description

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.

Prev | Up | Next
shrink_dcache_parent | Home | d_alloc