summaryrefslogtreecommitdiffstats
path: root/include/linux/ext4_fs.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V2008-01-29 05:58:27 +0100
committerTheodore Ts'o2008-01-29 05:58:27 +0100
commit99e6f829a854daa6d56006cad51156e98863e73a (patch)
treefff435d898ce3db5492252a241531d4016ba3b65 /include/linux/ext4_fs.h
parentext4: fixes block group number being set to a negative value (diff)
downloadkernel-qcow2-linux-99e6f829a854daa6d56006cad51156e98863e73a.tar.gz
kernel-qcow2-linux-99e6f829a854daa6d56006cad51156e98863e73a.tar.xz
kernel-qcow2-linux-99e6f829a854daa6d56006cad51156e98863e73a.zip
ext4: Introduce ext4_update_*_feature
Introduce ext4_update_*_feature and use them instead of opencoding. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/ext4_fs.h')
-rw-r--r--include/linux/ext4_fs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ext4_fs.h b/include/linux/ext4_fs.h
index e1103c2a0d42..429dbfc851ea 100644
--- a/include/linux/ext4_fs.h
+++ b/include/linux/ext4_fs.h
@@ -989,6 +989,12 @@ extern void ext4_abort (struct super_block *, const char *, const char *, ...)
extern void ext4_warning (struct super_block *, const char *, const char *, ...)
__attribute__ ((format (printf, 3, 4)));
extern void ext4_update_dynamic_rev (struct super_block *sb);
+extern int ext4_update_compat_feature(handle_t *handle, struct super_block *sb,
+ __u32 compat);
+extern int ext4_update_rocompat_feature(handle_t *handle,
+ struct super_block *sb, __u32 rocompat);
+extern int ext4_update_incompat_feature(handle_t *handle,
+ struct super_block *sb, __u32 incompat);
extern ext4_fsblk_t ext4_block_bitmap(struct super_block *sb,
struct ext4_group_desc *bg);
extern ext4_fsblk_t ext4_inode_bitmap(struct super_block *sb,