From: Andrey Vagin Date: Mon, 7 Feb 2011 21:14:52 +0000 (+0300) Subject: fs: devpts_pty_new() return -ENOMEM if dentry allocation failed X-Git-Tag: v2.6.39-rc1~399^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa597bc1f9476d0527e35d6dd9b481422e8205a0;p=pandora-kernel.git fs: devpts_pty_new() return -ENOMEM if dentry allocation failed In this case nobody can open a slave point, so will be better return from devpts_pty_new() Now we should not check error code from d_find_alias() in devpts_pty_kill(), because the dentry exists all times. Signed-off-by: Andrey Vagin Signed-off-by: Al Viro --- Reading git-diff-tree failed