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

Commit c7263bcd authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: readdirplus: cleanup



Niels noted that we don't need the 'dentry = NULL' line.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
CC: Niels de Vos <ndevos@redhat.com>
parent fa2b7213
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1263,7 +1263,6 @@ static int fuse_direntplus_link(struct file *file,
			goto found;
		}
		dput(dentry);
		dentry = NULL;
	}

	dentry = d_alloc(parent, &name);
@@ -1299,7 +1298,6 @@ found:

	err = 0;
out:
	if (dentry)
	dput(dentry);
	return err;
}