mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
Fix configfs leak
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
9850c05655
commit
9b6e310211
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user