File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -972,6 +972,8 @@ bool queue_limits_stack_integrity(struct queue_limits *t,
972
972
goto incompatible ;
973
973
if (ti -> csum_type != bi -> csum_type )
974
974
goto incompatible ;
975
+ if (ti -> pi_tuple_size != bi -> pi_tuple_size )
976
+ goto incompatible ;
975
977
if ((ti -> flags & BLK_INTEGRITY_REF_TAG ) !=
976
978
(bi -> flags & BLK_INTEGRITY_REF_TAG ))
977
979
goto incompatible ;
@@ -980,6 +982,7 @@ bool queue_limits_stack_integrity(struct queue_limits *t,
980
982
ti -> flags |= (bi -> flags & BLK_INTEGRITY_DEVICE_CAPABLE ) |
981
983
(bi -> flags & BLK_INTEGRITY_REF_TAG );
982
984
ti -> csum_type = bi -> csum_type ;
985
+ ti -> pi_tuple_size = bi -> pi_tuple_size ;
983
986
ti -> metadata_size = bi -> metadata_size ;
984
987
ti -> pi_offset = bi -> pi_offset ;
985
988
ti -> interval_exp = bi -> interval_exp ;
You can’t perform that action at this time.
0 commit comments