diff options
Diffstat (limited to 'fs/udf/udfdecl.h')
-rw-r--r-- | fs/udf/udfdecl.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index fa0044b6b81d..972b70625614 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h | |||
@@ -49,8 +49,8 @@ extern __printf(3, 4) void _udf_warn(struct super_block *sb, | |||
49 | #define UDF_EXTENT_FLAG_MASK 0xC0000000 | 49 | #define UDF_EXTENT_FLAG_MASK 0xC0000000 |
50 | 50 | ||
51 | #define UDF_NAME_PAD 4 | 51 | #define UDF_NAME_PAD 4 |
52 | #define UDF_NAME_LEN 256 | 52 | #define UDF_NAME_LEN 254 |
53 | #define UDF_PATH_LEN 1023 | 53 | #define UDF_NAME_LEN_CS0 255 |
54 | 54 | ||
55 | static inline size_t udf_file_entry_alloc_offset(struct inode *inode) | 55 | static inline size_t udf_file_entry_alloc_offset(struct inode *inode) |
56 | { | 56 | { |
@@ -106,12 +106,6 @@ struct generic_desc { | |||
106 | __le32 volDescSeqNum; | 106 | __le32 volDescSeqNum; |
107 | }; | 107 | }; |
108 | 108 | ||
109 | struct ustr { | ||
110 | uint8_t u_cmpID; | ||
111 | uint8_t u_name[UDF_NAME_LEN - 2]; | ||
112 | uint8_t u_len; | ||
113 | }; | ||
114 | |||
115 | 109 | ||
116 | /* super.c */ | 110 | /* super.c */ |
117 | 111 | ||
@@ -214,12 +208,11 @@ udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, | |||
214 | } | 208 | } |
215 | 209 | ||
216 | /* unicode.c */ | 210 | /* unicode.c */ |
217 | extern int udf_get_filename(struct super_block *, uint8_t *, int, uint8_t *, | 211 | extern int udf_get_filename(struct super_block *, const uint8_t *, int, |
218 | int); | 212 | uint8_t *, int); |
219 | extern int udf_put_filename(struct super_block *, const uint8_t *, uint8_t *, | 213 | extern int udf_put_filename(struct super_block *, const uint8_t *, int, |
220 | int); | 214 | uint8_t *, int); |
221 | extern int udf_build_ustr(struct ustr *, dstring *, int); | 215 | extern int udf_CS0toUTF8(uint8_t *, int, const uint8_t *, int); |
222 | extern int udf_CS0toUTF8(struct ustr *, const struct ustr *); | ||
223 | 216 | ||
224 | /* ialloc.c */ | 217 | /* ialloc.c */ |
225 | extern void udf_free_inode(struct inode *); | 218 | extern void udf_free_inode(struct inode *); |