• N
    fs: change d_delete semantics · fe15ce44
    Nick Piggin 提交于
    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: NNick Piggin <npiggin@kernel.dk>
    fe15ce44
dentry.c 2.7 KB