diff options
| author | Dave Jones <davej@suse.de> | 2002-04-14 23:27:33 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-14 23:27:33 -0700 |
| commit | c544f64e841608d6b4c838cd5f86696831f804ad (patch) | |
| tree | c757e39bdde6813d5897827049ef466ff4860106 /include/linux | |
| parent | 6bef9146b75f10c960b5978314a20d0bf559d253 (diff) | |
[PATCH] Seperates bfs_sb_info from struct super_block.
Originally from Brian Gerst
(Includes the bfs fix sent prior to this one to this -- disregard
earlier bfs related email)
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bfs_fs.h | 6 | ||||
| -rw-r--r-- | include/linux/fs.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/bfs_fs.h b/include/linux/bfs_fs.h index 1360909fc571..0c6349eec459 100644 --- a/include/linux/bfs_fs.h +++ b/include/linux/bfs_fs.h @@ -7,6 +7,7 @@ #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) @@ -89,6 +90,11 @@ extern struct address_space_operations bfs_aops; 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); diff --git a/include/linux/fs.h b/include/linux/fs.h index ce6bd67e4cc9..350fcc2111c4 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -684,7 +684,6 @@ struct quota_mount_options #include <linux/ufs_fs_sb.h> #include <linux/romfs_fs_sb.h> #include <linux/adfs_fs_sb.h> -#include <linux/bfs_fs_sb.h> extern struct list_head super_blocks; extern spinlock_t sb_lock; @@ -728,7 +727,6 @@ struct super_block { struct ufs_sb_info ufs_sb; struct romfs_sb_info romfs_sb; struct adfs_sb_info adfs_sb; - struct bfs_sb_info bfs_sb; void *generic_sbp; } u; /* |
