mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drbd: ->d_parent is never NULL or negative
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2853908a59
commit
07a8e62fde
2 changed files with 0 additions and 8 deletions
|
@ -191,10 +191,6 @@ void securityfs_remove(struct dentry *dentry)
|
|||
if (!dentry || IS_ERR(dentry))
|
||||
return;
|
||||
|
||||
parent = dentry->d_parent;
|
||||
if (!parent || d_really_is_negative(parent))
|
||||
return;
|
||||
|
||||
inode_lock(d_inode(parent));
|
||||
if (simple_positive(dentry)) {
|
||||
if (d_is_dir(dentry))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue