7
7
enum bip_flags {
8
8
BIP_BLOCK_INTEGRITY = 1 << 0 , /* block layer owns integrity data */
9
9
BIP_MAPPED_INTEGRITY = 1 << 1 , /* ref tag has been remapped */
10
- BIP_CTRL_NOCHECK = 1 << 2 , /* disable HBA integrity checking */
11
- BIP_DISK_NOCHECK = 1 << 3 , /* disable disk integrity checking */
12
- BIP_IP_CHECKSUM = 1 << 4 , /* IP checksum */
13
- BIP_COPY_USER = 1 << 5 , /* Kernel bounce buffer in use */
14
- BIP_CHECK_GUARD = 1 << 6 , /* guard check */
15
- BIP_CHECK_REFTAG = 1 << 7 , /* reftag check */
16
- BIP_CHECK_APPTAG = 1 << 8 , /* apptag check */
10
+ BIP_DISK_NOCHECK = 1 << 2 , /* disable disk integrity checking */
11
+ BIP_IP_CHECKSUM = 1 << 3 , /* IP checksum */
12
+ BIP_COPY_USER = 1 << 4 , /* Kernel bounce buffer in use */
13
+ BIP_CHECK_GUARD = 1 << 5 , /* guard check */
14
+ BIP_CHECK_REFTAG = 1 << 6 , /* reftag check */
15
+ BIP_CHECK_APPTAG = 1 << 7 , /* apptag check */
17
16
};
18
17
19
18
struct bio_integrity_payload {
@@ -33,8 +32,7 @@ struct bio_integrity_payload {
33
32
struct bio_vec bip_inline_vecs [];/* embedded bvec array */
34
33
};
35
34
36
- #define BIP_CLONE_FLAGS (BIP_MAPPED_INTEGRITY | BIP_CTRL_NOCHECK | \
37
- BIP_DISK_NOCHECK | BIP_IP_CHECKSUM | \
35
+ #define BIP_CLONE_FLAGS (BIP_MAPPED_INTEGRITY | BIP_IP_CHECKSUM | \
38
36
BIP_CHECK_GUARD | BIP_CHECK_REFTAG | BIP_CHECK_APPTAG)
39
37
40
38
#ifdef CONFIG_BLK_DEV_INTEGRITY
0 commit comments