summaryrefslogtreecommitdiff
path: root/fs/open.c
diff options
context:
space:
mode:
authorAndrey Vagin <avagin@openvz.org>2011-02-08 00:14:52 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-21 00:59:24 -0400
commitaa597bc1f9476d0527e35d6dd9b481422e8205a0 (patch)
tree3fa1a8a1441199bc9821b5095072258f2fc2ac06 /fs/open.c
parent1c34092adf1feaba25b7c739cc4def2751f4fa05 (diff)
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>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions