aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h8
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,
1002extern ext4_fsblk_t ext4_new_blocks(handle_t *handle, struct inode *inode, 1001extern 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);
1005extern ext4_fsblk_t ext4_old_new_blocks(handle_t *handle, struct inode *inode,
1006 ext4_fsblk_t goal, unsigned long *count, int *errp);
1007extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks); 1004extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi, s64 nblocks);
1008extern ext4_fsblk_t ext4_has_free_blocks(struct ext4_sb_info *sbi, 1005extern 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);
1020extern int ext4_should_retry_alloc(struct super_block *sb, int *retries); 1017extern int ext4_should_retry_alloc(struct super_block *sb, int *retries);
1021extern void ext4_init_block_alloc_info(struct inode *);
1022extern void ext4_rsv_window_add(struct super_block *sb, struct ext4_reserve_window_node *rsv);
1023 1018
1024/* dir.c */ 1019/* dir.c */
1025extern int ext4_check_dir_entry(const char *, struct inode *, 1020extern int ext4_check_dir_entry(const char *, struct inode *,
@@ -1054,7 +1049,7 @@ extern int ext4_mb_release(struct super_block *);
1054extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *, 1049extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *,
1055 struct ext4_allocation_request *, int *); 1050 struct ext4_allocation_request *, int *);
1056extern int ext4_mb_reserve_blocks(struct super_block *, int); 1051extern int ext4_mb_reserve_blocks(struct super_block *, int);
1057extern void ext4_mb_discard_inode_preallocations(struct inode *); 1052extern void ext4_discard_preallocations(struct inode *);
1058extern int __init init_ext4_mballoc(void); 1053extern int __init init_ext4_mballoc(void);
1059extern void exit_ext4_mballoc(void); 1054extern void exit_ext4_mballoc(void);
1060extern void ext4_mb_free_blocks(handle_t *, struct inode *, 1055extern 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);
1085extern void ext4_delete_inode(struct inode *); 1080extern void ext4_delete_inode(struct inode *);
1086extern int ext4_sync_inode(handle_t *, struct inode *); 1081extern int ext4_sync_inode(handle_t *, struct inode *);
1087extern void ext4_discard_reservation(struct inode *);
1088extern void ext4_dirty_inode(struct inode *); 1082extern void ext4_dirty_inode(struct inode *);
1089extern int ext4_change_inode_journal_flag(struct inode *, int); 1083extern int ext4_change_inode_journal_flag(struct inode *, int);
1090extern int ext4_get_inode_loc(struct inode *, struct ext4_iloc *); 1084extern int ext4_get_inode_loc(struct inode *, struct ext4_iloc *);