cifs: multichannel: always zero struct cifs_io_parms
[linux-2.6-microblaze.git] / fs / cifs / link.c
index a25ef35..2072458 100644 (file)
@@ -308,7 +308,7 @@ cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
        int oplock = 0;
        struct cifs_fid fid;
        struct cifs_open_parms oparms;
-       struct cifs_io_parms io_parms;
+       struct cifs_io_parms io_parms = {0};
        int buf_type = CIFS_NO_BUFFER;
        FILE_ALL_INFO file_info;
 
@@ -352,7 +352,7 @@ cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
        int oplock = 0;
        struct cifs_fid fid;
        struct cifs_open_parms oparms;
-       struct cifs_io_parms io_parms;
+       struct cifs_io_parms io_parms = {0};
 
        oparms.tcon = tcon;
        oparms.cifs_sb = cifs_sb;
@@ -389,7 +389,7 @@ smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
        int rc;
        struct cifs_fid fid;
        struct cifs_open_parms oparms;
-       struct cifs_io_parms io_parms;
+       struct cifs_io_parms io_parms = {0};
        int buf_type = CIFS_NO_BUFFER;
        __le16 *utf16_path;
        __u8 oplock = SMB2_OPLOCK_LEVEL_NONE;