]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Simplify devpts_pty_new()
authorSukadev Bhattiprolu <sukadev@us.ibm.com>
Mon, 13 Oct 2008 09:43:18 +0000 (10:43 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:43 +0000 (09:51 -0700)
commit89a52e109e2e2fe8bbd4e316cdb910774519c029
tree5e469fcbfe109216ea1e046377c00b439b558bdd
parent527b3e4773628b30d03323a2cb5fb0d84441990f
Simplify devpts_pty_new()

devpts_pty_new() is called when setting up a new pty and would not
will not have an existing dentry or inode for the pty. So don't bother
looking for an existing dentry - just create a new one.

Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/devpts/inode.c