login
Header Space

 
 

__d_drop(9)

July 19, 2007 - 1:24am
Submitted by Jeremy on July 19, 2007 - 1:24am.

INDEX

    NAME, SYNOPSIS, ARGUMENTS, DESCRIPTION, COPYRIGHT

    "__D_DROP" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "The Linux VFS"

    NAME

    __d_drop - drop a dentry

    SYNOPSIS

    "void __d_drop(struct dentry * " "dentry" ");"

    ARGUMENTS

    dentry
    dentry to drop

    DESCRIPTION

    d_dropfR
    unhashes the entry from the parent dentry hashes, so that it won't be found through a VFS lookup any more. Note that this is different from deleting the dentry - d_delete will try to mark the dentry negative if possible, giving a successful _negative_ lookup, while d_drop will just make the cache lookup fail.

    d_dropfR
    is used mainly for stuff that wants to invalidate a dentry for some reason (NFS timeouts or autofs deletes).

    __d_drop requires dentry->d_lock.

    COPYRIGHT

speck-geostationary