diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-10-15 06:28:03 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-04-02 06:29:47 -0400 |
commit | 5ca4e4be841e389d7d17833fef7be2359f290163 (patch) | |
tree | 9c059a3b7599260d096fae395d640e79bdc46f30 /fs/udf/udfdecl.h | |
parent | 833bb3046b6cb320e775ea2160ddca87d53260d5 (diff) |
Remove struct typedefs from fs/udf/ecma_167.h et al.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udfdecl.h')
-rw-r--r-- | fs/udf/udfdecl.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index 8ec865de5f13..35f0b9bf7b0c 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h | |||
@@ -65,7 +65,7 @@ static inline size_t udf_ext0_offset(struct inode *inode) | |||
65 | #define udf_get_lb_pblock(sb,loc,offset) udf_get_pblock((sb), (loc).logicalBlockNum, (loc).partitionReferenceNum, (offset)) | 65 | #define udf_get_lb_pblock(sb,loc,offset) udf_get_pblock((sb), (loc).logicalBlockNum, (loc).partitionReferenceNum, (offset)) |
66 | 66 | ||
67 | /* computes tag checksum */ | 67 | /* computes tag checksum */ |
68 | u8 udf_tag_checksum(const tag *t); | 68 | u8 udf_tag_checksum(const struct tag *t); |
69 | 69 | ||
70 | struct dentry; | 70 | struct dentry; |
71 | struct inode; | 71 | struct inode; |
@@ -95,7 +95,7 @@ struct udf_vds_record { | |||
95 | }; | 95 | }; |
96 | 96 | ||
97 | struct generic_desc { | 97 | struct generic_desc { |
98 | tag descTag; | 98 | struct tag descTag; |
99 | __le32 volDescSeqNum; | 99 | __le32 volDescSeqNum; |
100 | }; | 100 | }; |
101 | 101 | ||
@@ -108,7 +108,7 @@ struct ustr { | |||
108 | struct extent_position { | 108 | struct extent_position { |
109 | struct buffer_head *bh; | 109 | struct buffer_head *bh; |
110 | uint32_t offset; | 110 | uint32_t offset; |
111 | kernel_lb_addr block; | 111 | struct kernel_lb_addr block; |
112 | }; | 112 | }; |
113 | 113 | ||
114 | /* super.c */ | 114 | /* super.c */ |
@@ -124,7 +124,7 @@ extern int udf_ioctl(struct inode *, struct file *, unsigned int, | |||
124 | unsigned long); | 124 | unsigned long); |
125 | 125 | ||
126 | /* inode.c */ | 126 | /* inode.c */ |
127 | extern struct inode *udf_iget(struct super_block *, kernel_lb_addr); | 127 | extern struct inode *udf_iget(struct super_block *, struct kernel_lb_addr); |
128 | extern int udf_sync_inode(struct inode *); | 128 | extern int udf_sync_inode(struct inode *); |
129 | extern void udf_expand_file_adinicb(struct inode *, int, int *); | 129 | extern void udf_expand_file_adinicb(struct inode *, int, int *); |
130 | extern struct buffer_head *udf_expand_dir_adinicb(struct inode *, int *, int *); | 130 | extern struct buffer_head *udf_expand_dir_adinicb(struct inode *, int *, int *); |
@@ -136,19 +136,19 @@ extern void udf_clear_inode(struct inode *); | |||
136 | extern int udf_write_inode(struct inode *, int); | 136 | extern int udf_write_inode(struct inode *, int); |
137 | extern long udf_block_map(struct inode *, sector_t); | 137 | extern long udf_block_map(struct inode *, sector_t); |
138 | extern int udf_extend_file(struct inode *, struct extent_position *, | 138 | extern int udf_extend_file(struct inode *, struct extent_position *, |
139 | kernel_long_ad *, sector_t); | 139 | struct kernel_long_ad *, sector_t); |
140 | extern int8_t inode_bmap(struct inode *, sector_t, struct extent_position *, | 140 | extern int8_t inode_bmap(struct inode *, sector_t, struct extent_position *, |
141 | kernel_lb_addr *, uint32_t *, sector_t *); | 141 | struct kernel_lb_addr *, uint32_t *, sector_t *); |
142 | extern int8_t udf_add_aext(struct inode *, struct extent_position *, | 142 | extern int8_t udf_add_aext(struct inode *, struct extent_position *, |
143 | kernel_lb_addr, uint32_t, int); | 143 | struct kernel_lb_addr, uint32_t, int); |
144 | extern int8_t udf_write_aext(struct inode *, struct extent_position *, | 144 | extern int8_t udf_write_aext(struct inode *, struct extent_position *, |
145 | kernel_lb_addr, uint32_t, int); | 145 | struct kernel_lb_addr, uint32_t, int); |
146 | extern int8_t udf_delete_aext(struct inode *, struct extent_position, | 146 | extern int8_t udf_delete_aext(struct inode *, struct extent_position, |
147 | kernel_lb_addr, uint32_t); | 147 | struct kernel_lb_addr, uint32_t); |
148 | extern int8_t udf_next_aext(struct inode *, struct extent_position *, | 148 | extern int8_t udf_next_aext(struct inode *, struct extent_position *, |
149 | kernel_lb_addr *, uint32_t *, int); | 149 | struct kernel_lb_addr *, uint32_t *, int); |
150 | extern int8_t udf_current_aext(struct inode *, struct extent_position *, | 150 | extern int8_t udf_current_aext(struct inode *, struct extent_position *, |
151 | kernel_lb_addr *, uint32_t *, int); | 151 | struct kernel_lb_addr *, uint32_t *, int); |
152 | 152 | ||
153 | /* misc.c */ | 153 | /* misc.c */ |
154 | extern struct buffer_head *udf_tgetblk(struct super_block *, int); | 154 | extern struct buffer_head *udf_tgetblk(struct super_block *, int); |
@@ -160,7 +160,7 @@ extern struct genericFormat *udf_get_extendedattr(struct inode *, uint32_t, | |||
160 | extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t, | 160 | extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t, |
161 | uint32_t, uint16_t *); | 161 | uint32_t, uint16_t *); |
162 | extern struct buffer_head *udf_read_ptagged(struct super_block *, | 162 | extern struct buffer_head *udf_read_ptagged(struct super_block *, |
163 | kernel_lb_addr, uint32_t, | 163 | struct kernel_lb_addr, uint32_t, |
164 | uint16_t *); | 164 | uint16_t *); |
165 | extern void udf_update_tag(char *, int); | 165 | extern void udf_update_tag(char *, int); |
166 | extern void udf_new_tag(char *, uint16_t, uint16_t, uint16_t, uint32_t, int); | 166 | extern void udf_new_tag(char *, uint16_t, uint16_t, uint16_t, uint32_t, int); |
@@ -200,7 +200,7 @@ extern void udf_truncate_extents(struct inode *); | |||
200 | 200 | ||
201 | /* balloc.c */ | 201 | /* balloc.c */ |
202 | extern void udf_free_blocks(struct super_block *, struct inode *, | 202 | extern void udf_free_blocks(struct super_block *, struct inode *, |
203 | kernel_lb_addr, uint32_t, uint32_t); | 203 | struct kernel_lb_addr, uint32_t, uint32_t); |
204 | extern int udf_prealloc_blocks(struct super_block *, struct inode *, uint16_t, | 204 | extern int udf_prealloc_blocks(struct super_block *, struct inode *, uint16_t, |
205 | uint32_t, uint32_t); | 205 | uint32_t, uint32_t); |
206 | extern int udf_new_block(struct super_block *, struct inode *, uint16_t, | 206 | extern int udf_new_block(struct super_block *, struct inode *, uint16_t, |
@@ -214,16 +214,16 @@ extern struct fileIdentDesc *udf_fileident_read(struct inode *, loff_t *, | |||
214 | struct udf_fileident_bh *, | 214 | struct udf_fileident_bh *, |
215 | struct fileIdentDesc *, | 215 | struct fileIdentDesc *, |
216 | struct extent_position *, | 216 | struct extent_position *, |
217 | kernel_lb_addr *, uint32_t *, | 217 | struct kernel_lb_addr *, uint32_t *, |
218 | sector_t *); | 218 | sector_t *); |
219 | extern struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, | 219 | extern struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, |
220 | int *offset); | 220 | int *offset); |
221 | extern long_ad *udf_get_filelongad(uint8_t *, int, uint32_t *, int); | 221 | extern struct long_ad *udf_get_filelongad(uint8_t *, int, uint32_t *, int); |
222 | extern short_ad *udf_get_fileshortad(uint8_t *, int, uint32_t *, int); | 222 | extern struct short_ad *udf_get_fileshortad(uint8_t *, int, uint32_t *, int); |
223 | 223 | ||
224 | /* udftime.c */ | 224 | /* udftime.c */ |
225 | extern struct timespec *udf_disk_stamp_to_time(struct timespec *dest, | 225 | extern struct timespec *udf_disk_stamp_to_time(struct timespec *dest, |
226 | timestamp src); | 226 | struct timestamp src); |
227 | extern timestamp *udf_time_to_disk_stamp(timestamp *dest, struct timespec src); | 227 | extern struct timestamp *udf_time_to_disk_stamp(struct timestamp *dest, struct timespec src); |
228 | 228 | ||
229 | #endif /* __UDF_DECL_H */ | 229 | #endif /* __UDF_DECL_H */ |