Searched hist:aa597bc1 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/devpts/ |
H A D | inode.c | aa597bc1 Mon Feb 07 15:14:52 CST 2011 Andrey Vagin <avagin@openvz.org> 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 <avagin@openvz.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> aa597bc1 Mon Feb 07 15:14:52 CST 2011 Andrey Vagin <avagin@openvz.org> 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 <avagin@openvz.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|