summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/bfs_fs.h25
-rw-r--r--include/linux/bfs_fs_i.h21
-rw-r--r--include/linux/bfs_fs_sb.h25
3 files changed, 0 insertions, 71 deletions
diff --git a/include/linux/bfs_fs.h b/include/linux/bfs_fs.h
index 0c6349eec459..f7f0913cd110 100644
--- a/include/linux/bfs_fs.h
+++ b/include/linux/bfs_fs.h
@@ -6,9 +6,6 @@
#ifndef _LINUX_BFS_FS_H
#define _LINUX_BFS_FS_H
-#include <linux/bfs_fs_i.h>
-#include <linux/bfs_fs_sb.h>
-
#define BFS_BSIZE_BITS 9
#define BFS_BSIZE (1<<BFS_BSIZE_BITS)
@@ -79,26 +76,4 @@ struct bfs_super_block {
#define BFS_UNCLEAN(bfs_sb, sb) \
((bfs_sb->s_from != -1) && (bfs_sb->s_to != -1) && !(sb->s_flags & MS_RDONLY))
-#ifdef __KERNEL__
-
-/* file.c */
-extern struct inode_operations bfs_file_inops;
-extern struct file_operations bfs_file_operations;
-extern struct address_space_operations bfs_aops;
-
-/* dir.c */
-extern struct inode_operations bfs_dir_inops;
-extern struct file_operations bfs_dir_operations;
-
-static inline struct bfs_sb_info *BFS_SB(struct super_block *sb)
-{
- return sb->u.generic_sbp;
-}
-
-static inline struct bfs_inode_info *BFS_I(struct inode *inode)
-{
- return list_entry(inode, struct bfs_inode_info, vfs_inode);
-}
-
-#endif /* __KERNEL__ */
#endif /* _LINUX_BFS_FS_H */
diff --git a/include/linux/bfs_fs_i.h b/include/linux/bfs_fs_i.h
deleted file mode 100644
index 5a85f1dc143f..000000000000
--- a/include/linux/bfs_fs_i.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * include/linux/bfs_fs_i.h
- * Copyright (C) 1999 Tigran Aivazian <tigran@veritas.com>
- */
-
-#ifndef _LINUX_BFS_FS_I
-#define _LINUX_BFS_FS_I
-
-#include <linux/fs.h>
-
-/*
- * BFS file system in-core inode info
- */
-struct bfs_inode_info {
- unsigned long i_dsk_ino; /* inode number from the disk, can be 0 */
- unsigned long i_sblock;
- unsigned long i_eblock;
- struct inode vfs_inode;
-};
-
-#endif /* _LINUX_BFS_FS_I */
diff --git a/include/linux/bfs_fs_sb.h b/include/linux/bfs_fs_sb.h
deleted file mode 100644
index efdc30ec7241..000000000000
--- a/include/linux/bfs_fs_sb.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * include/linux/bfs_fs_sb.h
- * Copyright (C) 1999 Tigran Aivazian <tigran@veritas.com>
- */
-
-#ifndef _LINUX_BFS_FS_SB
-#define _LINUX_BFS_FS_SB
-
-/*
- * BFS file system in-core superblock info
- */
-struct bfs_sb_info {
- unsigned long si_blocks;
- unsigned long si_freeb;
- unsigned long si_freei;
- unsigned long si_lf_ioff;
- unsigned long si_lf_sblk;
- unsigned long si_lf_eblk;
- unsigned long si_lasti;
- char * si_imap;
- struct buffer_head * si_sbh; /* buffer header w/superblock */
- struct bfs_super_block * si_bfs_sb; /* superblock in si_sbh->b_data */
-};
-
-#endif /* _LINUX_BFS_FS_SB */