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

Commit 9b6e3102 authored by Al Viro's avatar Al Viro
Browse files

Fix configfs leak



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9850c056
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -121,8 +121,10 @@ static int get_target(const char *symname, struct path *path,
				ret = -ENOENT;
				path_put(path);
			}
		} else
		} else {
			ret = -EPERM;
			path_put(path);
		}
	}

	return ret;