diff options
Diffstat (limited to 'include/linux/reiserfs_fs.h')
| -rw-r--r-- | include/linux/reiserfs_fs.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index 5676c4210e2c..28493ffaafe7 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | #define _LINUX_REISER_FS_H | 12 | #define _LINUX_REISER_FS_H |
| 13 | 13 | ||
| 14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
| 15 | #include <linux/magic.h> | ||
| 16 | |||
| 15 | #ifdef __KERNEL__ | 17 | #ifdef __KERNEL__ |
| 16 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
| 17 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
| @@ -227,14 +229,6 @@ struct reiserfs_super_block { | |||
| 227 | ((!is_reiserfs_jr(SB_DISK_SUPER_BLOCK(s)) ? \ | 229 | ((!is_reiserfs_jr(SB_DISK_SUPER_BLOCK(s)) ? \ |
| 228 | SB_ONDISK_JOURNAL_SIZE(s) + 1 : SB_ONDISK_RESERVED_FOR_JOURNAL(s))) | 230 | SB_ONDISK_JOURNAL_SIZE(s) + 1 : SB_ONDISK_RESERVED_FOR_JOURNAL(s))) |
| 229 | 231 | ||
| 230 | /* used by gcc */ | ||
| 231 | #define REISERFS_SUPER_MAGIC 0x52654973 | ||
| 232 | /* used by file system utilities that | ||
| 233 | look at the superblock, etc. */ | ||
| 234 | #define REISERFS_SUPER_MAGIC_STRING "ReIsErFs" | ||
| 235 | #define REISER2FS_SUPER_MAGIC_STRING "ReIsEr2Fs" | ||
| 236 | #define REISER2FS_JR_SUPER_MAGIC_STRING "ReIsEr3Fs" | ||
| 237 | |||
| 238 | int is_reiserfs_3_5(struct reiserfs_super_block *rs); | 232 | int is_reiserfs_3_5(struct reiserfs_super_block *rs); |
| 239 | int is_reiserfs_3_6(struct reiserfs_super_block *rs); | 233 | int is_reiserfs_3_6(struct reiserfs_super_block *rs); |
| 240 | int is_reiserfs_jr(struct reiserfs_super_block *rs); | 234 | int is_reiserfs_jr(struct reiserfs_super_block *rs); |
| @@ -1973,7 +1967,7 @@ void reiserfs_unmap_buffer(struct buffer_head *); | |||
| 1973 | /* file.c */ | 1967 | /* file.c */ |
| 1974 | extern struct inode_operations reiserfs_file_inode_operations; | 1968 | extern struct inode_operations reiserfs_file_inode_operations; |
| 1975 | extern const struct file_operations reiserfs_file_operations; | 1969 | extern const struct file_operations reiserfs_file_operations; |
| 1976 | extern struct address_space_operations reiserfs_address_space_operations; | 1970 | extern const struct address_space_operations reiserfs_address_space_operations; |
| 1977 | 1971 | ||
| 1978 | /* fix_nodes.c */ | 1972 | /* fix_nodes.c */ |
| 1979 | 1973 | ||
