diff options
Diffstat (limited to 'include/linux/reiserfs_fs.h')
| -rw-r--r-- | include/linux/reiserfs_fs.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index dad78cecfd20..5676c4210e2c 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h | |||
| @@ -1704,6 +1704,11 @@ static inline int reiserfs_transaction_running(struct super_block *s) | |||
| 1704 | return 0; | 1704 | return 0; |
| 1705 | } | 1705 | } |
| 1706 | 1706 | ||
| 1707 | static inline int reiserfs_transaction_free_space(struct reiserfs_transaction_handle *th) | ||
| 1708 | { | ||
| 1709 | return th->t_blocks_allocated - th->t_blocks_logged; | ||
| 1710 | } | ||
| 1711 | |||
| 1707 | int reiserfs_async_progress_wait(struct super_block *s); | 1712 | int reiserfs_async_progress_wait(struct super_block *s); |
| 1708 | 1713 | ||
| 1709 | struct reiserfs_transaction_handle *reiserfs_persistent_transaction(struct | 1714 | struct reiserfs_transaction_handle *reiserfs_persistent_transaction(struct |
| @@ -1955,7 +1960,7 @@ int reiserfs_global_version_in_proc(char *buffer, char **start, off_t offset, | |||
| 1955 | extern struct inode_operations reiserfs_dir_inode_operations; | 1960 | extern struct inode_operations reiserfs_dir_inode_operations; |
| 1956 | extern struct inode_operations reiserfs_symlink_inode_operations; | 1961 | extern struct inode_operations reiserfs_symlink_inode_operations; |
| 1957 | extern struct inode_operations reiserfs_special_inode_operations; | 1962 | extern struct inode_operations reiserfs_special_inode_operations; |
| 1958 | extern struct file_operations reiserfs_dir_operations; | 1963 | extern const struct file_operations reiserfs_dir_operations; |
| 1959 | 1964 | ||
| 1960 | /* tail_conversion.c */ | 1965 | /* tail_conversion.c */ |
| 1961 | int direct2indirect(struct reiserfs_transaction_handle *, struct inode *, | 1966 | int direct2indirect(struct reiserfs_transaction_handle *, struct inode *, |
| @@ -1967,7 +1972,7 @@ void reiserfs_unmap_buffer(struct buffer_head *); | |||
| 1967 | 1972 | ||
| 1968 | /* file.c */ | 1973 | /* file.c */ |
| 1969 | extern struct inode_operations reiserfs_file_inode_operations; | 1974 | extern struct inode_operations reiserfs_file_inode_operations; |
| 1970 | extern struct file_operations reiserfs_file_operations; | 1975 | extern const struct file_operations reiserfs_file_operations; |
| 1971 | extern struct address_space_operations reiserfs_address_space_operations; | 1976 | extern struct address_space_operations reiserfs_address_space_operations; |
| 1972 | 1977 | ||
| 1973 | /* fix_nodes.c */ | 1978 | /* fix_nodes.c */ |
