Name

check_submounts_and_drop — detach submounts, prune dcache, and drop

Synopsis

int check_submounts_and_drop (struct dentry * dentry);
 

Arguments

dentry

dentry to detach, prune and drop

Description

The final d_drop is done as an atomic operation relative to rename_lock ensuring there are no races with d_set_mounted. This ensures there are no unhashed dentries on the path to a mountpoint.