Fix USB storage hang on command abort
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / fs / udf / udf_i.h
blob4f86b1d98a5d44ffbf1ae64bee4618c2dfcf3b4a
1 #ifndef _UDF_I_H
2 #define _UDF_I_H
4 struct udf_inode_info {
5 struct timespec i_crtime;
6 /* Physical address of inode */
7 kernel_lb_addr i_location;
8 __u64 i_unique;
9 __u32 i_lenEAttr;
10 __u32 i_lenAlloc;
11 __u64 i_lenExtents;
12 __u32 i_next_alloc_block;
13 __u32 i_next_alloc_goal;
14 unsigned i_alloc_type : 3;
15 unsigned i_efe : 1; /* extendedFileEntry */
16 unsigned i_use : 1; /* unallocSpaceEntry */
17 unsigned i_strat4096 : 1;
18 unsigned reserved : 26;
19 union {
20 short_ad *i_sad;
21 long_ad *i_lad;
22 __u8 *i_data;
23 } i_ext;
24 struct inode vfs_inode;
27 static inline struct udf_inode_info *UDF_I(struct inode *inode)
29 return list_entry(inode, struct udf_inode_info, vfs_inode);
32 #endif /* _UDF_I_H) */