diff options
author | Andrey Vagin <avagin@openvz.org> | 2011-03-22 16:35:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 17:44:17 -0700 |
commit | b12d12596992f608f5506a8dabe4d1299594bd1e (patch) | |
tree | aca8883d4660d3dec0590de162c5b9fa7e457ee1 /scripts | |
parent | e91f90bb0bb10be9cc8efd09a3cf4ecffcad0db1 (diff) |
fs/devpts/inode.c: correctly check d_alloc_name() return code in devpts_pty_new()
d_alloc_name return NULL in case error, but we expect errno in
devpts_pty_new.
Addresses http://bugzilla.openvz.org/show_bug.cgi?id=1758
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions