[Concept,16/23] ext4l: Move REQ_META, REQ_PRIO, REQ_RAHEAD to blk_types.h
Commit Message
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(-)
@@ -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
@@ -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 */