mount options: fix devpts
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 8 Feb 2008 12:21:41 +0000 (04:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:40 +0000 (09:22 -0800)
commitb87a267eb7291d075df76ebabd43c7f961b12f67
tree5dae609dd0e1163c74ea179e5e84cc5ce61f3e36
parente55e212c083f0c51a7d4eccd1746b6dca40ffc41
mount options: fix devpts

Add a .show_options super operation to devpts.

Small cleanup: when parsing the "mode" option, mask with S_IALLUGO
instead of ~S_IFMT.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
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>
fs/devpts/inode.c