Add token parsing for kernel CIFS mount options

Scott Lovenberg <[email protected]> Tue, 18 May 2010 00:53:05 -0400
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
This set of patches adds the functionality of a token parser for parsing kernel CIFS mount options.
The options are defined as constants (in an enum) and are used in a switch statement, replacing the if/else chain that was previously used for parsing options.

The first patch defines the constants and parsing function, the second patch implements them.