proc: Use new_inode not new_inode_pseudo
[linux-2.6-microblaze.git] / drivers / target / target_core_xcopy.h
index 26ba4c3..c56a1bd 100644 (file)
@@ -5,7 +5,7 @@
 #define XCOPY_TARGET_DESC_LEN          32
 #define XCOPY_SEGMENT_DESC_LEN         28
 #define XCOPY_NAA_IEEE_REGEX_LEN       16
-#define XCOPY_MAX_SECTORS              1024
+#define XCOPY_MAX_SECTORS              4096
 
 /*
  * SPC4r37 6.4.6.1
@@ -18,8 +18,6 @@ enum xcopy_origin_list {
        XCOL_DEST_RECV_OP = 0x02,
 };
 
-struct xcopy_pt_cmd;
-
 struct xcopy_op {
        int op_origin;
 
@@ -35,11 +33,8 @@ struct xcopy_op {
        unsigned short stdi;
        unsigned short dtdi;
        unsigned short nolb;
-       unsigned int dbl;
-
-       struct xcopy_pt_cmd *src_pt_cmd;
-       struct xcopy_pt_cmd *dst_pt_cmd;
 
+       u32 xop_data_bytes;
        u32 xop_data_nents;
        struct scatterlist *xop_data_sg;
        struct work_struct xop_work;