Loading fs/cifs/smb2ops.c +7 −6 Original line number Diff line number Diff line Loading @@ -729,12 +729,13 @@ smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid fid; struct cached_fid *cfid = NULL; oparms.tcon = tcon; oparms.desired_access = FILE_READ_ATTRIBUTES; oparms.disposition = FILE_OPEN; oparms.create_options = cifs_create_options(cifs_sb, 0); oparms.fid = &fid; oparms.reconnect = false; oparms = (struct cifs_open_parms) { .tcon = tcon, .desired_access = FILE_READ_ATTRIBUTES, .disposition = FILE_OPEN, .create_options = cifs_create_options(cifs_sb, 0), .fid = &fid, }; rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); if (rc == 0) Loading Loading
fs/cifs/smb2ops.c +7 −6 Original line number Diff line number Diff line Loading @@ -729,12 +729,13 @@ smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid fid; struct cached_fid *cfid = NULL; oparms.tcon = tcon; oparms.desired_access = FILE_READ_ATTRIBUTES; oparms.disposition = FILE_OPEN; oparms.create_options = cifs_create_options(cifs_sb, 0); oparms.fid = &fid; oparms.reconnect = false; oparms = (struct cifs_open_parms) { .tcon = tcon, .desired_access = FILE_READ_ATTRIBUTES, .disposition = FILE_OPEN, .create_options = cifs_create_options(cifs_sb, 0), .fid = &fid, }; rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); if (rc == 0) Loading