Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a8ca1b6 authored by Al Viro's avatar Al Viro
Browse files

hypfs: ->d_parent is never NULL or negative



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1fe0c023
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -72,8 +72,6 @@ static void hypfs_remove(struct dentry *dentry)
	struct dentry *parent;

	parent = dentry->d_parent;
	if (!parent || !parent->d_inode)
		return;
	mutex_lock(&parent->d_inode->i_mutex);
	if (hypfs_positive(dentry)) {
		if (S_ISDIR(dentry->d_inode->i_mode))