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

Commit adc9b5c0 authored by Al Viro's avatar Al Viro
Browse files

__detach_mounts(): lookup_mountpoint() can't return ERR_PTR() anymore



... not since 1e9c75fb ("mnt: fix __detach_mounts infinite loop")

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1cfb7072
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1625,7 +1625,7 @@ void __detach_mounts(struct dentry *dentry)
	namespace_lock();
	lock_mount_hash();
	mp = lookup_mountpoint(dentry);
	if (IS_ERR_OR_NULL(mp))
	if (!mp)
		goto out_unlock;

	event++;