diff options
| author | Al Viro <[email protected]> | 2015-02-22 03:05:11 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2015-02-22 16:38:43 +0000 |
| commit | 0db59e59299f0b67450c5db21f7f316c8fb04e84 (patch) | |
| tree | 4354f66cf8b6ec6c36968ba63ea9e037d0a6dcbd /lib/string_helpers.c | |
| parent | Documentation/filesystems/Locking: ->get_sb() is long gone (diff) | |
| download | kernel-0db59e59299f0b67450c5db21f7f316c8fb04e84.tar.gz kernel-0db59e59299f0b67450c5db21f7f316c8fb04e84.zip | |
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]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
