From fb6219c8d753d8258e766951b3cacd3c2d945e0f Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 13 Nov 2012 20:41:24 +0000 Subject: [PATCH] LBA should be 64-bit git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4616 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 88073848e..38b0be2c6 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -4605,14 +4605,14 @@ struct scst_write_same_priv { struct mutex ws_mutex; - int ws_cur_lba; /* in blocks */ + int64_t ws_cur_lba; /* in blocks */ int ws_left_to_send; /* in blocks */ int ws_max_each;/* in blocks */ int ws_cur_in_flight; - struct scatterlist *ws_sg; int ws_sg_cnt; + struct scatterlist *ws_sg; }; /* ws_mutex suppose to be locked */