diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-29 20:52:22 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-29 22:21:55 +0200 |
commit | 07a8e62fde3c17e3d25e397cb5028176756fa316 (patch) | |
tree | cebd72fd04c7bbaa0303e8c25462c514b4a997fa /security/inode.c | |
parent | undo "fs: allow d_instantiate to be called with negative parent dentry" (diff) | |
download | linux-07a8e62fde3c17e3d25e397cb5028176756fa316.tar.xz linux-07a8e62fde3c17e3d25e397cb5028176756fa316.zip |
drbd: ->d_parent is never NULL or negative
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/inode.c')
-rw-r--r-- | security/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/inode.c b/security/inode.c index 28414b0207ce..526f82269cb0 100644 --- a/security/inode.c +++ b/security/inode.c @@ -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)) |