forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
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
....@@ -51,8 +47,6 @@
5147 #define UDF_METADATA_MAP25 0x2511U
5248
5349 #define UDF_INVALID_MODE ((umode_t)-1)
54
-
55
-#pragma pack(1) /* XXX(hch): Why? This file just defines in-core structures */
5650
5751 #define MF_DUPLICATE_MD 0x01
5852 #define MF_MIRROR_FE_LOADED 0x02
....@@ -87,7 +81,7 @@
8781 struct udf_bitmap {
8882 __u32 s_extPosition;
8983 int s_nr_groups;
90
- struct buffer_head *s_block_bitmap[0];
84
+ struct buffer_head *s_block_bitmap[];
9185 };
9286
9387 struct udf_part_map {
....@@ -95,10 +89,6 @@
9589 struct udf_bitmap *s_bitmap;
9690 struct inode *s_table;
9791 } s_uspace;
98
- union {
99
- struct udf_bitmap *s_bitmap;
100
- struct inode *s_table;
101
- } s_fspace;
10292 __u32 s_partition_root;
10393 __u32 s_partition_len;
10494 __u16 s_partition_type;