Loading fs/cifs/smb2ops.c +7 −6 Original line number Original line 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 cifs_fid fid; struct cached_fid *cfid = NULL; struct cached_fid *cfid = NULL; oparms.tcon = tcon; oparms = (struct cifs_open_parms) { oparms.desired_access = FILE_READ_ATTRIBUTES; .tcon = tcon, oparms.disposition = FILE_OPEN; .desired_access = FILE_READ_ATTRIBUTES, oparms.create_options = cifs_create_options(cifs_sb, 0); .disposition = FILE_OPEN, oparms.fid = &fid; .create_options = cifs_create_options(cifs_sb, 0), oparms.reconnect = false; .fid = &fid, }; rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); if (rc == 0) if (rc == 0) Loading Loading
fs/cifs/smb2ops.c +7 −6 Original line number Original line 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 cifs_fid fid; struct cached_fid *cfid = NULL; struct cached_fid *cfid = NULL; oparms.tcon = tcon; oparms = (struct cifs_open_parms) { oparms.desired_access = FILE_READ_ATTRIBUTES; .tcon = tcon, oparms.disposition = FILE_OPEN; .desired_access = FILE_READ_ATTRIBUTES, oparms.create_options = cifs_create_options(cifs_sb, 0); .disposition = FILE_OPEN, oparms.fid = &fid; .create_options = cifs_create_options(cifs_sb, 0), oparms.reconnect = false; .fid = &fid, }; rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); if (rc == 0) if (rc == 0) Loading