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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index d164f1294e5f..4311cc85b534 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -696,6 +696,7 @@ struct ext4_inode_info {
696#define EXT4_MOUNT_I_VERSION 0x2000000 /* i_version support */ 696#define EXT4_MOUNT_I_VERSION 0x2000000 /* i_version support */
697#define EXT4_MOUNT_DELALLOC 0x8000000 /* Delalloc support */ 697#define EXT4_MOUNT_DELALLOC 0x8000000 /* Delalloc support */
698#define EXT4_MOUNT_DATA_ERR_ABORT 0x10000000 /* Abort on file data write */ 698#define EXT4_MOUNT_DATA_ERR_ABORT 0x10000000 /* Abort on file data write */
699#define EXT4_MOUNT_BLOCK_VALIDITY 0x20000000 /* Block validity checking */
699 700
700/* Compatibility, for having both ext2_fs.h and ext4_fs.h included at once */ 701/* Compatibility, for having both ext2_fs.h and ext4_fs.h included at once */
701#ifndef _LINUX_EXT2_FS_H 702#ifndef _LINUX_EXT2_FS_H
@@ -887,6 +888,7 @@ struct ext4_sb_info {
887 int s_jquota_fmt; /* Format of quota to use */ 888 int s_jquota_fmt; /* Format of quota to use */
888#endif 889#endif
889 unsigned int s_want_extra_isize; /* New inodes should reserve # bytes */ 890 unsigned int s_want_extra_isize; /* New inodes should reserve # bytes */
891 struct rb_root system_blks;
890 892
891#ifdef EXTENTS_STATS 893#ifdef EXTENTS_STATS
892 /* ext4 extents stats */ 894 /* ext4 extents stats */
@@ -1618,6 +1620,15 @@ extern struct dentry *ext4_get_parent(struct dentry *child);
1618extern const struct inode_operations ext4_symlink_inode_operations; 1620extern const struct inode_operations ext4_symlink_inode_operations;
1619extern const struct inode_operations ext4_fast_symlink_inode_operations; 1621extern const struct inode_operations ext4_fast_symlink_inode_operations;
1620 1622
1623/* block_validity */
1624extern void ext4_release_system_zone(struct super_block *sb);
1625extern int ext4_setup_system_zone(struct super_block *sb);
1626extern int __init init_ext4_system_zone(void);
1627extern void exit_ext4_system_zone(void);
1628extern int ext4_data_block_valid(struct ext4_sb_info *sbi,
1629 ext4_fsblk_t start_blk,
1630 unsigned int count);
1631
1621/* extents.c */ 1632/* extents.c */
1622extern int ext4_ext_tree_init(handle_t *handle, struct inode *); 1633extern int ext4_ext_tree_init(handle_t *handle, struct inode *);
1623extern int ext4_ext_writepage_trans_blocks(struct inode *, int); 1634extern int ext4_ext_writepage_trans_blocks(struct inode *, int);