@@ -745,6 +745,7 @@ smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon,
745745
746746 oparms = (struct cifs_open_parms ) {
747747 .tcon = tcon ,
748+ .path = "" ,
748749 .desired_access = FILE_READ_ATTRIBUTES ,
749750 .disposition = FILE_OPEN ,
750751 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -788,6 +789,7 @@ smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon,
788789
789790 oparms = (struct cifs_open_parms ) {
790791 .tcon = tcon ,
792+ .path = "" ,
791793 .desired_access = FILE_READ_ATTRIBUTES ,
792794 .disposition = FILE_OPEN ,
793795 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -835,6 +837,7 @@ smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon,
835837
836838 oparms = (struct cifs_open_parms ) {
837839 .tcon = tcon ,
840+ .path = full_path ,
838841 .desired_access = FILE_READ_ATTRIBUTES ,
839842 .disposition = FILE_OPEN ,
840843 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -1119,6 +1122,7 @@ smb2_set_ea(const unsigned int xid, struct cifs_tcon *tcon,
11191122
11201123 oparms = (struct cifs_open_parms ) {
11211124 .tcon = tcon ,
1125+ .path = path ,
11221126 .desired_access = FILE_WRITE_EA ,
11231127 .disposition = FILE_OPEN ,
11241128 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -2110,6 +2114,7 @@ smb3_notify(const unsigned int xid, struct file *pfile,
21102114 tcon = cifs_sb_master_tcon (cifs_sb );
21112115 oparms = (struct cifs_open_parms ) {
21122116 .tcon = tcon ,
2117+ .path = path ,
21132118 .desired_access = FILE_READ_ATTRIBUTES | FILE_READ_DATA ,
21142119 .disposition = FILE_OPEN ,
21152120 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -2182,6 +2187,7 @@ smb2_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon,
21822187
21832188 oparms = (struct cifs_open_parms ) {
21842189 .tcon = tcon ,
2190+ .path = path ,
21852191 .desired_access = FILE_READ_ATTRIBUTES | FILE_READ_DATA ,
21862192 .disposition = FILE_OPEN ,
21872193 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -2514,6 +2520,7 @@ smb2_query_info_compound(const unsigned int xid, struct cifs_tcon *tcon,
25142520
25152521 oparms = (struct cifs_open_parms ) {
25162522 .tcon = tcon ,
2523+ .path = path ,
25172524 .desired_access = desired_access ,
25182525 .disposition = FILE_OPEN ,
25192526 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -2648,6 +2655,7 @@ smb311_queryfs(const unsigned int xid, struct cifs_tcon *tcon,
26482655
26492656 oparms = (struct cifs_open_parms ) {
26502657 .tcon = tcon ,
2658+ .path = "" ,
26512659 .desired_access = FILE_READ_ATTRIBUTES ,
26522660 .disposition = FILE_OPEN ,
26532661 .create_options = cifs_create_options (cifs_sb , 0 ),
@@ -2942,6 +2950,7 @@ smb2_query_symlink(const unsigned int xid, struct cifs_tcon *tcon,
29422950
29432951 oparms = (struct cifs_open_parms ) {
29442952 .tcon = tcon ,
2953+ .path = full_path ,
29452954 .desired_access = FILE_READ_ATTRIBUTES ,
29462955 .disposition = FILE_OPEN ,
29472956 .create_options = cifs_create_options (cifs_sb , create_options ),
@@ -3082,6 +3091,7 @@ smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon,
30823091
30833092 oparms = (struct cifs_open_parms ) {
30843093 .tcon = tcon ,
3094+ .path = full_path ,
30853095 .desired_access = FILE_READ_ATTRIBUTES ,
30863096 .disposition = FILE_OPEN ,
30873097 .create_options = cifs_create_options (cifs_sb , OPEN_REPARSE_POINT ),
@@ -3222,6 +3232,7 @@ get_smb2_acl_by_path(struct cifs_sb_info *cifs_sb,
32223232
32233233 oparms = (struct cifs_open_parms ) {
32243234 .tcon = tcon ,
3235+ .path = path ,
32253236 .desired_access = READ_CONTROL ,
32263237 .disposition = FILE_OPEN ,
32273238 /*
0 commit comments