projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs: backref: Fix soft lockup in __merge_refs function
[cascardo/linux.git]
/
kernel
/
pid.c
diff --git
a/kernel/pid.c
b/kernel/pid.c
index
4d73a83
..
f66162f
100644
(file)
--- a/
kernel/pid.c
+++ b/
kernel/pid.c
@@
-311,7
+311,7
@@
struct pid *alloc_pid(struct pid_namespace *ns)
pid->level = ns->level;
for (i = ns->level; i >= 0; i--) {
nr = alloc_pidmap(tmp);
- if (
IS_ERR_VALUE(nr)
) {
+ if (
nr < 0
) {
retval = nr;
goto out_free;
}