@@ -121,8 +121,10 @@ static int get_target(const char *symname, struct path *path,
|
|||||||
ret = -ENOENT;
|
ret = -ENOENT;
|
||||||
path_put(path);
|
path_put(path);
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
ret = -EPERM;
|
ret = -EPERM;
|
||||||
|
path_put(path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user