struct cifs_sb_info *cifs_sb, const char *full_path,
                            __u32 desired_access, __u32 create_disposition, __u32 create_options,
                            umode_t mode, void *ptr, int command, struct cifsFileInfo *cfile,
+                           __u8 **extbuf, size_t *extbuflen,
                            struct kvec *err_iov, int *err_buftype)
 {
        struct cop_vars *vars = NULL;
        cifs_get_readable_path(tcon, full_path, &cfile);
        rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, FILE_READ_ATTRIBUTES, FILE_OPEN,
                              create_options, ACL_NO_MODE, data, SMB2_OP_QUERY_INFO, cfile,
-                             err_iov, err_buftype);
+                             NULL, NULL, err_iov, err_buftype);
        if (rc == -EOPNOTSUPP) {
                if (err_iov[0].iov_base && err_buftype[0] != CIFS_NO_BUFFER &&
                    ((struct smb2_hdr *)err_iov[0].iov_base)->Command == SMB2_CREATE &&
                cifs_get_readable_path(tcon, full_path, &cfile);
                rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, FILE_READ_ATTRIBUTES,
                                      FILE_OPEN, create_options, ACL_NO_MODE, data,
-                                     SMB2_OP_QUERY_INFO, cfile, NULL, NULL);
+                                     SMB2_OP_QUERY_INFO, cfile, NULL, NULL, NULL, NULL);
        }
 
 out:
        cifs_get_readable_path(tcon, full_path, &cfile);
        rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, FILE_READ_ATTRIBUTES, FILE_OPEN,
                              create_options, ACL_NO_MODE, data, SMB2_OP_POSIX_QUERY_INFO, cfile,
-                             err_iov, err_buftype);
+                             NULL, NULL, err_iov, err_buftype);
        if (rc == -EOPNOTSUPP) {
                /* BB TODO: When support for special files added to Samba re-verify this path */
                if (err_iov[0].iov_base && err_buftype[0] != CIFS_NO_BUFFER &&
                cifs_get_readable_path(tcon, full_path, &cfile);
                rc = smb2_compound_op(xid, tcon, cifs_sb, full_path, FILE_READ_ATTRIBUTES,
                                      FILE_OPEN, create_options, ACL_NO_MODE, data,
-                                     SMB2_OP_POSIX_QUERY_INFO, cfile, NULL, NULL);
+                                     SMB2_OP_POSIX_QUERY_INFO, cfile, NULL, NULL, NULL, NULL);
        }
 
 out:
        return smb2_compound_op(xid, tcon, cifs_sb, name,
                                FILE_WRITE_ATTRIBUTES, FILE_CREATE,
                                CREATE_NOT_FILE, mode, NULL, SMB2_OP_MKDIR,
-                               NULL, NULL, NULL);
+                               NULL, NULL, NULL, NULL, NULL);
 }
 
 void
        tmprc = smb2_compound_op(xid, tcon, cifs_sb, name,
                                 FILE_WRITE_ATTRIBUTES, FILE_CREATE,
                                 CREATE_NOT_FILE, ACL_NO_MODE,
-                                &data, SMB2_OP_SET_INFO, cfile, NULL, NULL);
+                                &data, SMB2_OP_SET_INFO, cfile, NULL, NULL, NULL, NULL);
        if (tmprc == 0)
                cifs_i->cifsAttrs = dosattrs;
 }
        drop_cached_dir_by_name(xid, tcon, name, cifs_sb);
        return smb2_compound_op(xid, tcon, cifs_sb, name, DELETE, FILE_OPEN,
                                CREATE_NOT_FILE, ACL_NO_MODE,
-                               NULL, SMB2_OP_RMDIR, NULL, NULL, NULL);
+                               NULL, SMB2_OP_RMDIR, NULL, NULL, NULL, NULL, NULL);
 }
 
 int
 {
        return smb2_compound_op(xid, tcon, cifs_sb, name, DELETE, FILE_OPEN,
                                CREATE_DELETE_ON_CLOSE | OPEN_REPARSE_POINT,
-                               ACL_NO_MODE, NULL, SMB2_OP_DELETE, NULL, NULL, NULL);
+                               ACL_NO_MODE, NULL, SMB2_OP_DELETE, NULL, NULL, NULL, NULL, NULL);
 }
 
 static int
        }
        rc = smb2_compound_op(xid, tcon, cifs_sb, from_name, access,
                              FILE_OPEN, 0, ACL_NO_MODE, smb2_to_name,
-                             command, cfile, NULL, NULL);
+                             command, cfile, NULL, NULL, NULL, NULL);
 smb2_rename_path:
        kfree(smb2_to_name);
        return rc;
        cifs_get_writable_path(tcon, full_path, FIND_WR_ANY, &cfile);
        return smb2_compound_op(xid, tcon, cifs_sb, full_path,
                                FILE_WRITE_DATA, FILE_OPEN, 0, ACL_NO_MODE,
-                               &eof, SMB2_OP_SET_EOF, cfile, NULL, NULL);
+                               &eof, SMB2_OP_SET_EOF, cfile, NULL, NULL, NULL, NULL);
 }
 
 int
        rc = smb2_compound_op(xid, tcon, cifs_sb, full_path,
                              FILE_WRITE_ATTRIBUTES, FILE_OPEN,
                              0, ACL_NO_MODE, buf, SMB2_OP_SET_INFO, cfile,
-                             NULL, NULL);
+                             NULL, NULL, NULL, NULL);
        cifs_put_tlink(tlink);
        return rc;
 }