CIFS: Fix problem with 3.0-rc1 null user mount failure
authorPavel Shilovsky <piastryyy@gmail.com>
Mon, 20 Jun 2011 08:33:16 +0000 (12:33 +0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 22 Jun 2011 21:43:56 +0000 (21:43 +0000)
commit446b23a75804d7ffa4cca2d4d8f0afb822108c7e
treeb39afe031f24ce3c79df35d32381f5331d6b68db
parent2992c4bd5742b31a0ee00a76eee9c1c284507418
CIFS: Fix problem with 3.0-rc1 null user mount failure

Figured it out: it was broken by b946845a9dc523c759cae2b6a0f6827486c3221a commit - "cifs: cifs_parse_mount_options: do not tokenize mount options in-place". So, as a quick fix I suggest to apply this patch.

[PATCH] CIFS: Fix kfree() with constant string in a null user case

Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c