X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Ftarget%2Ftarget_core_iblock.h;h=f2a5797217d43e233a5cb1229f7e5977e0a564b8;hb=389cf7080c062eb5fae525858d2e70aea0422d89;hp=718d3fcd3e7cd8d8cacd7057ff85119a836725ca;hpb=e2241be62deabe09d7c681326fcb0bc707082147;p=karo-tx-linux.git diff --git a/drivers/target/target_core_iblock.h b/drivers/target/target_core_iblock.h index 718d3fcd3e7c..f2a5797217d4 100644 --- a/drivers/target/target_core_iblock.h +++ b/drivers/target/target_core_iblock.h @@ -2,6 +2,7 @@ #define TARGET_CORE_IBLOCK_H #include +#include #include #define IBLOCK_VERSION "4.0" @@ -10,7 +11,7 @@ #define IBLOCK_LBA_SHIFT 9 struct iblock_req { - atomic_t pending; + refcount_t pending; atomic_t ib_bio_err_cnt; } ____cacheline_aligned;