Cleanup handling of NULL value passed for a mount option
authorSachin Prabhu <sprabhu@redhat.com>
Tue, 10 Apr 2012 17:12:27 +0000 (18:12 +0100)
committerSteve French <sfrench@us.ibm.com>
Thu, 12 Apr 2012 03:53:02 +0000 (22:53 -0500)
commit4fe9e9639d95cd11de63afa353f2de320f26033a
treef640363cdb01a8411a2f91ca21d41a97b0ac75ea
parentf68e556e23d1a4176b563bcb25d8baf2c5313f91
Cleanup handling of NULL value passed for a mount option

Allow blank user= and ip= mount option. Also clean up redundant
checks for NULL values since the token parser will not actually
match mount options with NULL values unless explicitly specified.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reported-by: Chris Clayton <chris2553@googlemail.com>
Acked-by: Jeff Layton <jlayton@samba.org>
Tested-by: Chris Clayton <chris2553@googlemail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c