Remove devpts_root global
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Fri, 2 Jan 2009 13:41:11 +0000 (13:41 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:35 +0000 (10:19 -0800)
commit59e55e6cf86eb472e8373831c4234252916c53ef
tree6d904c0490ea787b2ac65d7f0a37819ec37e8b3b
parent300a6204b4d45dc70359b24384ad04ae899179c3
Remove devpts_root global

Remove the 'devpts_root' global variable and find the root dentry using
the super_block. The super-block can be found from the device inode, using
the new wrapper, pts_sb_from_inode().

Changelog: This patch is based on an earlier patchset from Serge Hallyn
   and Matt Helsley.

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