diff options
author | Sukadev Bhattiprolu <sukadev@us.ibm.com> | 2008-04-30 09:54:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 17:29:48 +0200 |
commit | 4f8f9d66cdac4845409f7520e4f287a1907a6bf9 (patch) | |
tree | 5b70fe024acd91a64e1c6b8848637e753cdb9b1a /fs/devpts | |
parent | tty: fix routine name in ptmx_open() (diff) | |
download | linux-4f8f9d66cdac4845409f7520e4f287a1907a6bf9.tar.xz linux-4f8f9d66cdac4845409f7520e4f287a1907a6bf9.zip |
devpts: propagate error code from devpts_pty_new
Have ptmx_open() propagate any error code returned by devpts_pty_new()
(which returns either 0 or -ENOMEM anyway).
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions