hulk inclusion category: bugfix bugzilla: https://atomgit.com/openeuler/kernel/issues/8862 -------------------------------- Fix kabi broken in enum req_flag_bits. Add __REQ_ATOMIC to the end of the enum to prevent the value of __REQ_NOUNMAP from being changed. Signed-off-by: Long Li <leo.lilong@huawei.com> --- include/linux/blk_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index ef5b12d47235..b0c15876579b 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -431,12 +431,12 @@ enum req_flag_bits { __REQ_SWAP, /* swap I/O */ __REQ_DRV, /* for driver use */ __REQ_FS_PRIVATE, /* for file system (submitter) use */ - __REQ_ATOMIC, /* for atomic write operations */ /* * Command specific flags, keep last: */ /* for REQ_OP_WRITE_ZEROES: */ __REQ_NOUNMAP, /* do not free blocks when zeroing */ + __REQ_ATOMIC, /* for atomic write operations */ __REQ_NR_BITS, /* stops here */ }; -- 2.39.2