Simple devpts fix against 2.1.116

Chris Atenasio (root@lilo.dyn.ml.org)
Wed, 19 Aug 1998 23:44:51 -0400 (EDT)


Does it really make sense for mounting devpts to bomb if you don't specify
any options? I'm no devpts expert but this works for me.

--- linux-2.1.116/fs/devpts/inode.c Wed Aug 19 19:14:55 1998
+++ linux/fs/devpts/inode.c Wed Aug 19 22:46:56 1998
@@ -82,7 +82,6 @@
umode_t mode = 0600;
char *this_char, *value;

- if ( !options ) return 1;
for (this_char = strtok(options,","); this_char; this_char =
strtok(NULL,",")) {
if ((value = strchr(this_char,'=')) != NULL)
*value++ = 0;

- Chris
--------------------------------------------------------------------------------
Chris Atenasio (chrisa@ultranet.com) -- Friends dont let friends use Windows.
Send me mail with subject "send pgp key" or "word of the day" for autoresponse.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html