]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: make sure we ignore the credentials= and cred= options
authorJeff Layton <jlayton@redhat.com>
Wed, 2 May 2012 18:02:40 +0000 (14:02 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 2 May 2012 21:27:10 +0000 (16:27 -0500)
commit2c5baa1345fed2e156899cc904df02e1c3341e64
tree11824355379fb4272353c4e7e240acd6fabbba02
parentac58fd00c6d8eb7a8d3d1c2a52fb2fff5db8911d
cifs: make sure we ignore the credentials= and cred= options

Older mount.cifs programs passed this on to the kernel after parsing
the file. Make sure the kernel ignores that option.

Should fix:

    https://bugzilla.kernel.org/show_bug.cgi?id=43195

Cc: Sachin Prabhu <sprabhu@redhat.com>
Reported-by: Ronald <ronald645@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c