aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/udf_fs_i.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-02-22 12:39:12 +0100
committerJan Kara <jack@suse.cz>2008-04-17 14:22:23 +0200
commit15aebd2866b21a568d8defec134bf29f9aea9088 (patch)
tree7b697a462e3ff1bedeaaa7cf9a4441ae504c7a07 /include/linux/udf_fs_i.h
parentb1e321266d8797b21eac433b11458ac65b098938 (diff)
downloadkernel_samsung_smdk4412-15aebd2866b21a568d8defec134bf29f9aea9088.zip
kernel_samsung_smdk4412-15aebd2866b21a568d8defec134bf29f9aea9088.tar.gz
kernel_samsung_smdk4412-15aebd2866b21a568d8defec134bf29f9aea9088.tar.bz2
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>
Diffstat (limited to 'include/linux/udf_fs_i.h')
-rw-r--r--include/linux/udf_fs_i.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/include/linux/udf_fs_i.h b/include/linux/udf_fs_i.h
index ffaf056..3536965 100644
--- a/include/linux/udf_fs_i.h
+++ b/include/linux/udf_fs_i.h
@@ -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 *)