19 lines
680 B
Text
19 lines
680 B
Text
Index: lib/ext2fs/ext2_fs.h
|
|
--- lib/ext2fs/ext2_fs.h.orig
|
|
+++ lib/ext2fs/ext2_fs.h
|
|
@@ -375,6 +375,7 @@ struct ext4_new_group_input {
|
|
#define _IOT_ext2_new_group_input _IOT (_IOTS(__u32), 5, _IOTS(__u16), 2, 0, 0)
|
|
#endif
|
|
|
|
+#ifndef __OpenBSD__
|
|
#define EXT2_IOC_GETFLAGS _IOR('f', 1, long)
|
|
#define EXT2_IOC_SETFLAGS _IOW('f', 2, long)
|
|
#define EXT2_IOC_GETVERSION _IOR('v', 1, long)
|
|
@@ -385,6 +386,7 @@ struct ext4_new_group_input {
|
|
#define EXT2_IOC_GROUP_ADD _IOW('f', 8,struct ext2_new_group_input)
|
|
#define EXT4_IOC_GROUP_ADD _IOW('f', 8,struct ext4_new_group_input)
|
|
#define EXT4_IOC_RESIZE_FS _IOW('f', 16, __u64)
|
|
+#endif
|
|
|
|
/*
|
|
* Structure of an inode on the disk
|