VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / char / ftape / zftape / zftape-init.h
index 5f9ce2e..2145892 100644 (file)
@@ -52,10 +52,10 @@ extern const  ftape_info *zft_status; /* needed for zftape-vtbl.h */
 struct zft_cmpr_ops {
        int (*write)(int *write_cnt,
                     __u8 *dst_buf, const int seg_sz,
-                    const __u8 *src_buf, const int req_len, 
+                    const __u8 __user *src_buf, const int req_len, 
                     const zft_position *pos, const zft_volinfo *volume);
        int (*read)(int *read_cnt,
-                   __u8 *dst_buf, const int req_len,
+                   __u8 __user *dst_buf, const int req_len,
                    const __u8 *src_buf, const int seg_sz,
                    const zft_position *pos, const zft_volinfo *volume);
        int (*seek)(unsigned int new_block_pos,