From: Simon Glass <simon.glass@canonical.com> Move the remaining block I/O request flags to include/linux/blk_types.h with other request flags, matching Linux kernel organisation. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- fs/ext4l/ext4_uboot.h | 5 +---- include/linux/blk_types.h | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index d11981a858a..931889f6046 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -125,10 +125,7 @@ #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= PAGE_SIZE) #define data_race(expr) (expr) -/* Block I/O request flags - stubs */ -#define REQ_META 0 -#define REQ_PRIO 0 -#define REQ_RAHEAD 0 +/* REQ_META, REQ_PRIO, REQ_RAHEAD are in linux/blk_types.h */ /* GFP flags - stubs */ #define __GFP_MOVABLE 0 diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index ccbee4b9876..a842300ae64 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -25,5 +25,8 @@ typedef __u32 __bitwise blk_opf_t; #define REQ_FUA (1 << 9) /* Forced unit access */ #define REQ_PREFLUSH (1 << 10) /* Request cache flush */ #define REQ_IDLE (1 << 11) /* Anticipate more I/O */ +#define REQ_META (1 << 12) /* Metadata I/O request */ +#define REQ_PRIO (1 << 13) /* Boost priority */ +#define REQ_RAHEAD (1 << 14) /* Read ahead */ #endif /* _LINUX_BLK_TYPES_H */ -- 2.43.0