mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
drbd: ->d_parent is never NULL or negative
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user