commit | b12d12596992f608f5506a8dabe4d1299594bd1e | [log] [tgz] |
---|---|---|
author | Andrey Vagin <avagin@openvz.org> | Tue Mar 22 16:35:11 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Mar 22 17:44:17 2011 -0700 |
tree | aca8883d4660d3dec0590de162c5b9fa7e457ee1 | |
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>