diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-10-10 09:40:52 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-10-10 09:40:52 -0400 |
commit | c2ea3fde61f1df1dbf062345f23277dcd6f01dfe (patch) | |
tree | 53ecbf57416326810540494e814c05753bf30874 /fs/ext4/ext4.h | |
parent | 240799cdf22bd789ea6852653c3b879d35ad0a6c (diff) |
ext4: Remove old legacy block allocator
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 922d18720c9e..c50c04cc6d7b 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -539,7 +539,6 @@ do { \ | |||
539 | #define EXT4_MOUNT_JOURNAL_CHECKSUM 0x800000 /* Journal checksums */ | 539 | #define EXT4_MOUNT_JOURNAL_CHECKSUM 0x800000 /* Journal checksums */ |
540 | #define EXT4_MOUNT_JOURNAL_ASYNC_COMMIT 0x1000000 /* Journal Async Commit */ | 540 | #define EXT4_MOUNT_JOURNAL_ASYNC_COMMIT 0x1000000 /* Journal Async Commit */ |
541 | #define EXT4_MOUNT_I_VERSION 0x2000000 /* i_version support */ | 541 | #define EXT4_MOUNT_I_VERSION 0x2000000 /* i_version support */ |
542 | #define EXT4_MOUNT_MBALLOC 0x4000000 /* Buddy allocation support */ | ||
543 | #define EXT4_MOUNT_DELALLOC 0x8000000 /* Delalloc support */ | 542 | #define EXT4_MOUNT_DELALLOC 0x8000000 /* Delalloc support */ |
544 | /* Compatibility, for having both ext2_fs.h and ext4_fs.h included at once */ | 543 | /* Compatibility, for having both ext2_fs.h and ext4_fs.h included at once */ |
545 | #ifndef _LINUX_EXT2_FS_H | 544 | #ifndef _LINUX_EXT2_FS_H |
@@ -1002,8 +1001,6 @@ extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, | |||
1002 | extern ext4_fsblk_t ext4_new_blocks(handle_t *handle, struct inode *inode, | 1001 | extern ext4_fsblk_t ext4_new_blocks(handle_t *handle, struct inode *inode, |
1003 | ext4_lblk_t iblock, ext4_fsblk_t goal, | 1002 | ext4_lblk_t iblock, ext4_fsblk_t goal, |
1004 | unsigned long *count, int *errp); | 1003 | unsigned long *count, int *errp); |
1005 | extern ext4_fsblk_t ext4_old_new_blocks(handle_t *handle, struct inode *inode, | ||
1006 | ext4_fsblk_t goal, unsigned long *count, int *errp); | ||
1007 | extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); | 1004 | extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); |
1008 | extern ext4_fsblk_t ext4_has_free_blocks(struct ext4_sb_info *sbi, | 1005 | extern ext4_fsblk_t ext4_has_free_blocks(struct ext4_sb_info *sbi, |
1009 | s64 nblocks); | 1006 | s64 nblocks); |
@@ -1018,8 +1015,6 @@ extern struct ext4_group_desc * ext4_get_group_desc(struct super_block * sb, | |||
1018 | ext4_group_t block_group, | 1015 | ext4_group_t block_group, |
1019 | struct buffer_head ** bh); | 1016 | struct buffer_head ** bh); |
1020 | extern int ext4_should_retry_alloc(struct super_block *sb, int *retries); | 1017 | extern int ext4_should_retry_alloc(struct super_block *sb, int *retries); |
1021 | extern void ext4_init_block_alloc_info(struct inode *); | ||
1022 | extern void ext4_rsv_window_add(struct super_block *sb, struct ext4_reserve_window_node *rsv); | ||
1023 | 1018 | ||
1024 | /* dir.c */ | 1019 | /* dir.c */ |
1025 | extern int ext4_check_dir_entry(const char *, struct inode *, | 1020 | extern int ext4_check_dir_entry(const char *, struct inode *, |
@@ -1054,7 +1049,7 @@ extern int ext4_mb_release(struct super_block *); | |||
1054 | extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *, | 1049 | extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *, |
1055 | struct ext4_allocation_request *, int *); | 1050 | struct ext4_allocation_request *, int *); |
1056 | extern int ext4_mb_reserve_blocks(struct super_block *, int); | 1051 | extern int ext4_mb_reserve_blocks(struct super_block *, int); |
1057 | extern void ext4_mb_discard_inode_preallocations(struct inode *); | 1052 | extern void ext4_discard_preallocations(struct inode *); |
1058 | extern int __init init_ext4_mballoc(void); | 1053 | extern int __init init_ext4_mballoc(void); |
1059 | extern void exit_ext4_mballoc(void); | 1054 | extern void exit_ext4_mballoc(void); |
1060 | extern void ext4_mb_free_blocks(handle_t *, struct inode *, | 1055 | extern void ext4_mb_free_blocks(handle_t *, struct inode *, |
@@ -1084,7 +1079,6 @@ extern int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry, | |||
1084 | struct kstat *stat); | 1079 | struct kstat *stat); |
1085 | extern void ext4_delete_inode(struct inode *); | 1080 | extern void ext4_delete_inode(struct inode *); |
1086 | extern int ext4_sync_inode(handle_t *, struct inode *); | 1081 | extern int ext4_sync_inode(handle_t *, struct inode *); |
1087 | extern void ext4_discard_reservation(struct inode *); | ||
1088 | extern void ext4_dirty_inode(struct inode *); | 1082 | extern void ext4_dirty_inode(struct inode *); |
1089 | extern int ext4_change_inode_journal_flag(struct inode *, int); | 1083 | extern int ext4_change_inode_journal_flag(struct inode *, int); |
1090 | extern int ext4_get_inode_loc(struct inode *, struct ext4_iloc *); | 1084 | extern int ext4_get_inode_loc(struct inode *, struct ext4_iloc *); |