drbd: ->d_parent is never NULL or negative

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2016-05-29 14:52:22 -04:00
parent 2853908a59
commit 07a8e62fde
2 changed files with 0 additions and 8 deletions

View File

@@ -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))