summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-13 08:33:40 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-21 18:46:30 -0400
commitfee67d807bc36ff2cacb77286156798fd70e3f0c (patch)
tree3c05bd1237a6cdd731e651f8a9635b880e7bdfa7 /include
parent8fae948d60dbdc53278013c8103651578aee8c12 (diff)
linux shim: implement BLK_OPEN_CREAT
this allows O_CREAT to be passed through, for the new image creation tool. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blk_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index e3c3a9b4..ee27b615 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -33,6 +33,7 @@ typedef unsigned int __bitwise blk_mode_t;
#define BLK_OPEN_WRITE_IOCTL ((__force blk_mode_t)(1 << 4))
#define BLK_OPEN_BUFFERED ((__force blk_mode_t)(1 << 5))
+#define BLK_OPEN_CREAT ((__force blk_mode_t)(1 << 6))
struct inode {
unsigned long i_ino;