X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fexport-ext4-2.6-sles11.patch;h=0d151fc7f6df2dcb5565930d9616b4ee78acf889;hp=3930843f8891c3ae1f57ba1f5c7f89993f7f3ed5;hb=8744cc4ede97b73d21ffbb685b8de943d7d16cf8;hpb=9f463e30893138845eb571cc32426e8d1e04a9fa diff --git a/ldiskfs/kernel_patches/patches/export-ext4-2.6-sles11.patch b/ldiskfs/kernel_patches/patches/export-ext4-2.6-sles11.patch index 3930843..0d151fc 100644 --- a/ldiskfs/kernel_patches/patches/export-ext4-2.6-sles11.patch +++ b/ldiskfs/kernel_patches/patches/export-ext4-2.6-sles11.patch @@ -33,3 +33,37 @@ Index: linux-2.6.18.i386/fs/ext4/super.c MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); MODULE_DESCRIPTION("Fourth Extended Filesystem with extents"); MODULE_LICENSE("GPL"); +Index: linux-stage/fs/ext4/ext4.h +=================================================================== +--- linux-stage.orig/fs/ext4/ext4.h ++++ linux-stage/fs/ext4/ext4.h +@@ -1097,6 +1097,8 @@ extern struct inode * ext4_orphan_get(st + extern unsigned long ext4_count_free_inodes(struct super_block *); + extern unsigned long ext4_count_dirs(struct super_block *); + extern void ext4_check_inodes_bitmap(struct super_block *); ++extern struct buffer_head *ext4_read_inode_bitmap(struct super_block *sb, ++ ext4_group_t block_group); + + /* mballoc.c */ + extern long ext4_mb_stats; +Index: linux-stage/fs/ext4/ialloc.c +=================================================================== +--- linux-stage.orig/fs/ext4/ialloc.c ++++ linux-stage/fs/ext4/ialloc.c +@@ -96,7 +96,7 @@ unsigned ext4_init_inode_bitmap(struct s + * + * Return buffer_head of bitmap on success or NULL. + */ +-static struct buffer_head * ++struct buffer_head * + ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group) + { + struct ext4_group_desc *desc; +@@ -159,6 +159,7 @@ ext4_read_inode_bitmap(struct super_bloc + } + return bh; + } ++EXPORT_SYMBOL(ext4_read_inode_bitmap); + + /* + * NOTE! When we get the inode, we're the only people