]> git.baikalelectronics.ru Git - kernel.git/commit
Fix UNC parsing on mount
authorSachin Prabhu <sprabhu@redhat.com>
Wed, 4 Apr 2012 00:58:56 +0000 (01:58 +0100)
committerSteve French <sfrench@us.ibm.com>
Wed, 4 Apr 2012 01:46:09 +0000 (20:46 -0500)
commit2b361c2554dbd8e3e6fbe17341e3b4488fd8b4f8
tree60f08a6ffab5686bfe4256fa8d4f838a09e2698f
parent700b28ffe0e7c2ad949d7f4771e2fc28b949bb16
Fix UNC parsing on mount

The code cleanup of cifs_parse_mount_options resulted in a new bug being
introduced in the parsing of the UNC. This results in vol->UNC being
modified before vol->UNC was allocated.

Reported-by: Steve French <smfrench@gmail.com>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c