hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/fs/udf/udf_sb.h
....@@ -20,8 +20,6 @@
2020 #define UDF_FLAG_UNDELETE 6
2121 #define UDF_FLAG_UNHIDE 7
2222 #define UDF_FLAG_VARCONV 8
23
-#define UDF_FLAG_NLS_MAP 9
24
-#define UDF_FLAG_UTF8 10
2523 #define UDF_FLAG_UID_FORGET 11 /* save -1 for uid to disk */
2624 #define UDF_FLAG_GID_FORGET 12
2725 #define UDF_FLAG_UID_SET 13
....@@ -35,8 +33,6 @@
3533
3634 #define UDF_PART_FLAG_UNALLOC_BITMAP 0x0001
3735 #define UDF_PART_FLAG_UNALLOC_TABLE 0x0002
38
-#define UDF_PART_FLAG_FREED_BITMAP 0x0004
39
-#define UDF_PART_FLAG_FREED_TABLE 0x0008
4036 #define UDF_PART_FLAG_READ_ONLY 0x0010
4137 #define UDF_PART_FLAG_WRITE_ONCE 0x0020
4238 #define UDF_PART_FLAG_REWRITABLE 0x0040
....@@ -52,10 +48,10 @@
5248
5349 #define UDF_INVALID_MODE ((umode_t)-1)
5450
55
-#pragma pack(1) /* XXX(hch): Why? This file just defines in-core structures */
56
-
5751 #define MF_DUPLICATE_MD 0x01
5852 #define MF_MIRROR_FE_LOADED 0x02
53
+
54
+#define EFSCORRUPTED EUCLEAN
5955
6056 struct udf_meta_data {
6157 __u32 s_meta_file_loc;
....@@ -87,7 +83,7 @@
8783 struct udf_bitmap {
8884 __u32 s_extPosition;
8985 int s_nr_groups;
90
- struct buffer_head *s_block_bitmap[0];
86
+ struct buffer_head *s_block_bitmap[];
9187 };
9288
9389 struct udf_part_map {
....@@ -95,10 +91,6 @@
9591 struct udf_bitmap *s_bitmap;
9692 struct inode *s_table;
9793 } s_uspace;
98
- union {
99
- struct udf_bitmap *s_bitmap;
100
- struct inode *s_table;
101
- } s_fspace;
10294 __u32 s_partition_root;
10395 __u32 s_partition_len;
10496 __u16 s_partition_type;