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

Fix configfs leak

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9850c056
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment