aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/udfdecl.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-10-15 06:28:03 -0400
committerJan Kara <jack@suse.cz>2009-04-02 06:29:47 -0400
commit5ca4e4be841e389d7d17833fef7be2359f290163 (patch)
tree9c059a3b7599260d096fae395d640e79bdc46f30 /fs/udf/udfdecl.h
parent833bb3046b6cb320e775ea2160ddca87d53260d5 (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.h36
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 */
68u8 udf_tag_checksum(const tag *t); 68u8 udf_tag_checksum(const struct tag *t);
69 69
70struct dentry; 70struct dentry;
71struct inode; 71struct inode;
@@ -95,7 +95,7 @@ struct udf_vds_record {
95}; 95};
96 96
97struct generic_desc { 97struct 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 {
108struct extent_position { 108struct 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 */
127extern struct inode *udf_iget(struct super_block *, kernel_lb_addr); 127extern struct inode *udf_iget(struct super_block *, struct kernel_lb_addr);
128extern int udf_sync_inode(struct inode *); 128extern int udf_sync_inode(struct inode *);
129extern void udf_expand_file_adinicb(struct inode *, int, int *); 129extern void udf_expand_file_adinicb(struct inode *, int, int *);
130extern struct buffer_head *udf_expand_dir_adinicb(struct inode *, int *, int *); 130extern struct buffer_head *udf_expand_dir_adinicb(struct inode *, int *, int *);
@@ -136,19 +136,19 @@ extern void udf_clear_inode(struct inode *);
136extern int udf_write_inode(struct inode *, int); 136extern int udf_write_inode(struct inode *, int);
137extern long udf_block_map(struct inode *, sector_t); 137extern long udf_block_map(struct inode *, sector_t);
138extern int udf_extend_file(struct inode *, struct extent_position *, 138extern int udf_extend_file(struct inode *, struct extent_position *,
139 kernel_long_ad *, sector_t); 139 struct kernel_long_ad *, sector_t);
140extern int8_t inode_bmap(struct inode *, sector_t, struct extent_position *, 140extern 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 *);
142extern int8_t udf_add_aext(struct inode *, struct extent_position *, 142extern 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);
144extern int8_t udf_write_aext(struct inode *, struct extent_position *, 144extern 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);
146extern int8_t udf_delete_aext(struct inode *, struct extent_position, 146extern int8_t udf_delete_aext(struct inode *, struct extent_position,
147 kernel_lb_addr, uint32_t); 147 struct kernel_lb_addr, uint32_t);
148extern int8_t udf_next_aext(struct inode *, struct extent_position *, 148extern 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);
150extern int8_t udf_current_aext(struct inode *, struct extent_position *, 150extern 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 */
154extern struct buffer_head *udf_tgetblk(struct super_block *, int); 154extern struct buffer_head *udf_tgetblk(struct super_block *, int);
@@ -160,7 +160,7 @@ extern struct genericFormat *udf_get_extendedattr(struct inode *, uint32_t,
160extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t, 160extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t,
161 uint32_t, uint16_t *); 161 uint32_t, uint16_t *);
162extern struct buffer_head *udf_read_ptagged(struct super_block *, 162extern 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 *);
165extern void udf_update_tag(char *, int); 165extern void udf_update_tag(char *, int);
166extern void udf_new_tag(char *, uint16_t, uint16_t, uint16_t, uint32_t, int); 166extern 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 */
202extern void udf_free_blocks(struct super_block *, struct inode *, 202extern 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);
204extern int udf_prealloc_blocks(struct super_block *, struct inode *, uint16_t, 204extern int udf_prealloc_blocks(struct super_block *, struct inode *, uint16_t,
205 uint32_t, uint32_t); 205 uint32_t, uint32_t);
206extern int udf_new_block(struct super_block *, struct inode *, uint16_t, 206extern 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 *);
219extern struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, 219extern struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize,
220 int *offset); 220 int *offset);
221extern long_ad *udf_get_filelongad(uint8_t *, int, uint32_t *, int); 221extern struct long_ad *udf_get_filelongad(uint8_t *, int, uint32_t *, int);
222extern short_ad *udf_get_fileshortad(uint8_t *, int, uint32_t *, int); 222extern struct short_ad *udf_get_fileshortad(uint8_t *, int, uint32_t *, int);
223 223
224/* udftime.c */ 224/* udftime.c */
225extern struct timespec *udf_disk_stamp_to_time(struct timespec *dest, 225extern struct timespec *udf_disk_stamp_to_time(struct timespec *dest,
226 timestamp src); 226 struct timestamp src);
227extern timestamp *udf_time_to_disk_stamp(timestamp *dest, struct timespec src); 227extern 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 */