• Nick Piggin's avatar
    fs: change d_delete semantics · fe15ce44
    Nick Piggin authored
    Change d_delete from a dentry deletion notification to a dentry caching
    advise, more like ->drop_inode. Require it to be constant and idempotent,
    and not take d_lock. This is how all existing filesystems use the callback
    anyway.
    
    This makes fine grained dentry locking of dput and dentry lru scanning
    much simpler.
    Signed-off-by: default avatarNick Piggin <npiggin@kernel.dk>
    fe15ce44
generic.c 19.6 KB