d_invalidate

Name

d_invalidate --  invalidate a dentry

Synopsis

int d_invalidate (struct dentry * dentry);

Arguments

dentry

dentry to invalidate

Description

Try to invalidate the dentry if it turns out to be possible. If there are other dentries that can be reached through this one we can't delete it and we return -EBUSY. On success we return 0.