From: Andrey Vagin Date: Tue, 22 Mar 2011 23:35:11 +0000 (-0700) Subject: fs/devpts/inode.c: correctly check d_alloc_name() return code in devpts_pty_new() X-Git-Tag: v2.6.39-rc1~206 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12d12596992f608f5506a8dabe4d1299594bd1e;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed