From: Sukadev Bhattiprolu Date: Mon, 13 Oct 2008 09:43:18 +0000 (+0100) Subject: Simplify devpts_pty_new() X-Git-Tag: v2.6.28-rc1~628 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89a52e109e2e2fe8bbd4e316cdb910774519c029;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed