fs: devpts_pty_new() return -ENOMEM if dentry allocation failed
authorAndrey Vagin <avagin@openvz.org>
Mon, 7 Feb 2011 21:14:52 +0000 (00:14 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Mar 2011 04:59:24 +0000 (00:59 -0400)
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 <avagin@openvz.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found