cifs: always zero out smb_vol before parsing options
authorJeff Layton <jlayton@redhat.com>
Mon, 26 Nov 2012 16:09:57 +0000 (11:09 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 5 Dec 2012 19:27:31 +0000 (13:27 -0600)
commit6ee9542a8701a906dbe5141bf1e1ad395d957222
treeae01aed2b9e2f43eb218ef131c9dfeac25c7c45c
parent9fa114f74feb140ac93e5983428c8f9312ffd6c2
cifs: always zero out smb_vol before parsing options

Currently, the code relies on the callers to do that and they all do,
but this will ensure that it's always done.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/connect.c