d12ddde2bb
This patch removes duplicate definitions from include/linux/udf_fs_i.h which are already defined in fs/udf/ecma_167.h. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
52 lines
1.1 KiB
C
52 lines
1.1 KiB
C
/*
|
|
* udf_fs_i.h
|
|
*
|
|
* This file is intended for the Linux kernel/module.
|
|
*
|
|
* COPYRIGHT
|
|
* This file is distributed under the terms of the GNU General Public
|
|
* License (GPL). Copies of the GPL can be obtained from:
|
|
* ftp://prep.ai.mit.edu/pub/gnu/GPL
|
|
* Each contributing author retains all rights to their own work.
|
|
*/
|
|
|
|
#ifndef _UDF_FS_I_H
|
|
#define _UDF_FS_I_H 1
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
struct udf_inode_info
|
|
{
|
|
struct timespec i_crtime;
|
|
/* Physical address of inode */
|
|
kernel_lb_addr i_location;
|
|
__u64 i_unique;
|
|
__u32 i_lenEAttr;
|
|
__u32 i_lenAlloc;
|
|
__u64 i_lenExtents;
|
|
__u32 i_next_alloc_block;
|
|
__u32 i_next_alloc_goal;
|
|
unsigned i_alloc_type : 3;
|
|
unsigned i_efe : 1;
|
|
unsigned i_use : 1;
|
|
unsigned i_strat4096 : 1;
|
|
unsigned reserved : 26;
|
|
union
|
|
{
|
|
short_ad *i_sad;
|
|
long_ad *i_lad;
|
|
__u8 *i_data;
|
|
} i_ext;
|
|
struct inode vfs_inode;
|
|
};
|
|
|
|
#endif
|
|
|
|
/* exported IOCTLs, we have 'l', 0x40-0x7f */
|
|
|
|
#define UDF_GETEASIZE _IOR('l', 0x40, int)
|
|
#define UDF_GETEABLOCK _IOR('l', 0x41, void *)
|
|
#define UDF_GETVOLIDENT _IOR('l', 0x42, void *)
|
|
#define UDF_RELOCATE_BLOCKS _IOWR('l', 0x43, long)
|
|
|
|
#endif /* _UDF_FS_I_H */
|