Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debugfs: leave freeing a symlink body until inode eviction
As it is, we have debugfs_remove() racing with symlink traversals. Supply ->evict_inode() and do freeing there - inode will remain pinned until we are done with the symlink body. And rip the idiocy with checking if dentry is positive right after we'd verified debugfs_positive(), which is a stronger check... Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
- Loading branch information