summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-03-17 21:24:32 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-17 21:24:32 -0800
commitea747b67fa63925d7a3206d2e0944dcb28560615 (patch)
treea60e6bf8f81a6e0dfab4b4e2bd56852cfe5a499c /include/linux
parent9c96c8be372e7e3ce26e7b0e14ab9e7ff22cf068 (diff)
[PATCH] hpfs: general cleanup
include files moved to fs/hpfs/, gratitious #include removed, stuff that doesn't have to be global made static, misindented chunk of hpfs_readdir() put in place, etc.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hpfs_fs_i.h25
-rw-r--r--include/linux/hpfs_fs_sb.h34
2 files changed, 0 insertions, 59 deletions
diff --git a/include/linux/hpfs_fs_i.h b/include/linux/hpfs_fs_i.h
deleted file mode 100644
index 2a0d784fea40..000000000000
--- a/include/linux/hpfs_fs_i.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef _HPFS_FS_I
-#define _HPFS_FS_I
-
-struct hpfs_inode_info {
- loff_t mmu_private;
- ino_t i_parent_dir; /* (directories) gives fnode of parent dir */
- unsigned i_dno; /* (directories) root dnode */
- unsigned i_dpos; /* (directories) temp for readdir */
- unsigned i_dsubdno; /* (directories) temp for readdir */
- unsigned i_file_sec; /* (files) minimalist cache of alloc info */
- unsigned i_disk_sec; /* (files) minimalist cache of alloc info */
- unsigned i_n_secs; /* (files) minimalist cache of alloc info */
- unsigned i_ea_size; /* size of extended attributes */
- unsigned i_conv : 2; /* (files) crlf->newline hackery */
- unsigned i_ea_mode : 1; /* file's permission is stored in ea */
- unsigned i_ea_uid : 1; /* file's uid is stored in ea */
- unsigned i_ea_gid : 1; /* file's gid is stored in ea */
- unsigned i_dirty : 1;
- struct semaphore i_sem;
- struct semaphore i_parent;
- loff_t **i_rddir_off;
- struct inode vfs_inode;
-};
-
-#endif
diff --git a/include/linux/hpfs_fs_sb.h b/include/linux/hpfs_fs_sb.h
deleted file mode 100644
index 6eceb9539c90..000000000000
--- a/include/linux/hpfs_fs_sb.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef _HPFS_FS_SB
-#define _HPFS_FS_SB
-
-struct hpfs_sb_info {
- ino_t sb_root; /* inode number of root dir */
- unsigned sb_fs_size; /* file system size, sectors */
- unsigned sb_bitmaps; /* sector number of bitmap list */
- unsigned sb_dirband_start; /* directory band start sector */
- unsigned sb_dirband_size; /* directory band size, dnodes */
- unsigned sb_dmap; /* sector number of dnode bit map */
- unsigned sb_n_free; /* free blocks for statfs, or -1 */
- unsigned sb_n_free_dnodes; /* free dnodes for statfs, or -1 */
- uid_t sb_uid; /* uid from mount options */
- gid_t sb_gid; /* gid from mount options */
- umode_t sb_mode; /* mode from mount options */
- unsigned sb_conv : 2; /* crlf->newline hackery */
- unsigned sb_eas : 2; /* eas: 0-ignore, 1-ro, 2-rw */
- unsigned sb_err : 2; /* on errs: 0-cont, 1-ro, 2-panic */
- unsigned sb_chk : 2; /* checks: 0-no, 1-normal, 2-strict */
- unsigned sb_lowercase : 1; /* downcase filenames hackery */
- unsigned sb_was_error : 1; /* there was an error, set dirty flag */
- unsigned sb_chkdsk : 2; /* chkdsk: 0-no, 1-on errs, 2-allways */
- unsigned char *sb_cp_table; /* code page tables: */
- /* 128 bytes uppercasing table & */
- /* 128 bytes lowercasing table */
- unsigned *sb_bmp_dir; /* main bitmap directory */
- unsigned sb_c_bitmap; /* current bitmap */
- struct semaphore hpfs_creation_de; /* when creating dirents, nobody else
- can alloc blocks */
- /*unsigned sb_mounting : 1;*/
- int sb_timeshift;
-};
-
-#endif