diff --git a/[refs] b/[refs] index 341f54c58fa7..8653af6ab82a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1a62e958fa4aaeeb752311b4f5e16b2a86737b23 +refs/heads/master: d93e4c940f51ae06b59c14523c4d55947f9597d6 diff --git a/trunk/security/inode.c b/trunk/security/inode.c index f3b91bfbe4cb..f7496c6a022b 100644 --- a/trunk/security/inode.c +++ b/trunk/security/inode.c @@ -287,7 +287,7 @@ void securityfs_remove(struct dentry *dentry) { struct dentry *parent; - if (!dentry) + if (!dentry || IS_ERR(dentry)) return; parent = dentry->d_parent;