diff options
author | Andrey Vagin <avagin@openvz.org> | 2011-02-07 22:14:52 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-21 05:59:24 +0100 |
commit | aa597bc1f9476d0527e35d6dd9b481422e8205a0 (patch) | |
tree | 3fa1a8a1441199bc9821b5095072258f2fc2ac06 /net/dcb/dcbevent.c | |
parent | nfs: lock() vs unlock() typo (diff) | |
download | linux-aa597bc1f9476d0527e35d6dd9b481422e8205a0.tar.xz linux-aa597bc1f9476d0527e35d6dd9b481422e8205a0.zip |
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 'net/dcb/dcbevent.c')
0 files changed, 0 insertions, 0 deletions