IWL: fix WARN typo
[linux-2.6/mini2440.git] / fs / ext4 / group.h
blobc2c0a8d06d0e059ba949bcadd9081555ab7f298c
1 /*
2 * linux/fs/ext4/group.h
4 * Copyright (C) 2007 Cluster File Systems, Inc
6 * Author: Andreas Dilger <adilger@clusterfs.com>
7 */
9 #ifndef _LINUX_EXT4_GROUP_H
10 #define _LINUX_EXT4_GROUP_H
12 extern __le16 ext4_group_desc_csum(struct ext4_sb_info *sbi, __u32 group,
13 struct ext4_group_desc *gdp);
14 extern int ext4_group_desc_csum_verify(struct ext4_sb_info *sbi, __u32 group,
15 struct ext4_group_desc *gdp);
16 struct buffer_head *ext4_read_block_bitmap(struct super_block *sb,
17 ext4_group_t block_group);
18 extern unsigned ext4_init_block_bitmap(struct super_block *sb,
19 struct buffer_head *bh,
20 ext4_group_t group,
21 struct ext4_group_desc *desc);
22 #define ext4_free_blocks_after_init(sb, group, desc) \
23 ext4_init_block_bitmap(sb, NULL, group, desc)
24 extern unsigned ext4_init_inode_bitmap(struct super_block *sb,
25 struct buffer_head *bh,
26 ext4_group_t group,
27 struct ext4_group_desc *desc);
28 extern void mark_bitmap_end(int start_bit, int end_bit, char *bitmap);
29 #endif /* _LINUX_EXT4_GROUP_H */