diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-17 02:26:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:46 -0400 |
commit | deba0f49b9345f885a53a077623a68cef89c01d5 (patch) | |
tree | cd8538a476ac76ff41a7070c472b1f28cda536e2 /include/linux | |
parent | e423003028183df54f039dfda8b58c49e78c89d7 (diff) |
fs/reiserfs/: cleanups
- remove the following no longer used functions:
- bitmap.c: reiserfs_claim_blocks_to_be_allocated()
- bitmap.c: reiserfs_release_claimed_blocks()
- bitmap.c: reiserfs_can_fit_pages()
- make the following functions static:
- inode.c: restart_transaction()
- journal.c: reiserfs_async_progress_wait()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Vladimir V. Saveliev <vs@namesys.com>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/reiserfs_fs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index 180a9d832dde..8dcf237d3386 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h | |||
@@ -1703,8 +1703,6 @@ static inline int reiserfs_transaction_free_space(struct reiserfs_transaction_ha | |||
1703 | return th->t_blocks_allocated - th->t_blocks_logged; | 1703 | return th->t_blocks_allocated - th->t_blocks_logged; |
1704 | } | 1704 | } |
1705 | 1705 | ||
1706 | int reiserfs_async_progress_wait(struct super_block *s); | ||
1707 | |||
1708 | struct reiserfs_transaction_handle *reiserfs_persistent_transaction(struct | 1706 | struct reiserfs_transaction_handle *reiserfs_persistent_transaction(struct |
1709 | super_block | 1707 | super_block |
1710 | *, | 1708 | *, |
@@ -1859,8 +1857,6 @@ void padd_item(char *item, int total_length, int length); | |||
1859 | #define GET_BLOCK_NO_IMUX 8 /* i_mutex is not held, don't preallocate */ | 1857 | #define GET_BLOCK_NO_IMUX 8 /* i_mutex is not held, don't preallocate */ |
1860 | #define GET_BLOCK_NO_DANGLE 16 /* don't leave any transactions running */ | 1858 | #define GET_BLOCK_NO_DANGLE 16 /* don't leave any transactions running */ |
1861 | 1859 | ||
1862 | int restart_transaction(struct reiserfs_transaction_handle *th, | ||
1863 | struct inode *inode, struct treepath *path); | ||
1864 | void reiserfs_read_locked_inode(struct inode *inode, | 1860 | void reiserfs_read_locked_inode(struct inode *inode, |
1865 | struct reiserfs_iget_args *args); | 1861 | struct reiserfs_iget_args *args); |
1866 | int reiserfs_find_actor(struct inode *inode, void *p); | 1862 | int reiserfs_find_actor(struct inode *inode, void *p); |
@@ -2137,9 +2133,6 @@ void reiserfs_discard_prealloc(struct reiserfs_transaction_handle *th, | |||
2137 | struct inode *inode); | 2133 | struct inode *inode); |
2138 | void reiserfs_discard_all_prealloc(struct reiserfs_transaction_handle *th); | 2134 | void reiserfs_discard_all_prealloc(struct reiserfs_transaction_handle *th); |
2139 | #endif | 2135 | #endif |
2140 | void reiserfs_claim_blocks_to_be_allocated(struct super_block *sb, int blocks); | ||
2141 | void reiserfs_release_claimed_blocks(struct super_block *sb, int blocks); | ||
2142 | int reiserfs_can_fit_pages(struct super_block *sb); | ||
2143 | 2136 | ||
2144 | /* hashes.c */ | 2137 | /* hashes.c */ |
2145 | __u32 keyed_hash(const signed char *msg, int len); | 2138 | __u32 keyed_hash(const signed char *msg, int len); |