| .. | .. |
|---|
| 53 | 53 | extern const struct blk_integrity_profile t10_pi_type3_crc; |
|---|
| 54 | 54 | extern const struct blk_integrity_profile t10_pi_type3_ip; |
|---|
| 55 | 55 | |
|---|
| 56 | | -#ifdef CONFIG_BLK_DEV_INTEGRITY |
|---|
| 57 | | -extern void t10_pi_prepare(struct request *rq, u8 protection_type); |
|---|
| 58 | | -extern void t10_pi_complete(struct request *rq, u8 protection_type, |
|---|
| 59 | | - unsigned int intervals); |
|---|
| 60 | | -#else |
|---|
| 61 | | -static inline void t10_pi_complete(struct request *rq, u8 protection_type, |
|---|
| 62 | | - unsigned int intervals) |
|---|
| 63 | | -{ |
|---|
| 64 | | -} |
|---|
| 65 | | -static inline void t10_pi_prepare(struct request *rq, u8 protection_type) |
|---|
| 66 | | -{ |
|---|
| 67 | | -} |
|---|
| 68 | | -#endif |
|---|
| 69 | | - |
|---|
| 70 | 56 | #endif |
|---|