udf: move headers out include/linux/
There's really no reason to keep udf headers in include/linux as they're not used by anything but fs/udf/. This patch merges most of include/linux/udf_fs_i.h into fs/udf/udf_i.h, include/linux/udf_fs_sb.h into fs/udf/udf_sb.h and include/linux/udf_fs.h into fs/udf/udfdecl.h. The only thing remaining in include/linux/ is a stub of udf_fs_i.h defining the four user-visible udf ioctls. It's also moved from unifdef-y to headers-y because it can be included unconditionally now. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:

committed by
Jan Kara

parent
b1e321266d
commit
15aebd2866
@@ -9,41 +9,10 @@
|
||||
* 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 *)
|
||||
|
Reference in New Issue
Block a user