Re: [PATCH v3] ext4: initialize multi-block allocator before checking block descriptors

From: Theodore Ts'o
Date: Wed Feb 12 2014 - 11:29:17 EST


On Tue, Feb 11, 2014 at 06:24:12PM +0400, Azat Khuzhin wrote:
> With EXT4FS_DEBUG ext4_count_free_clusters() will call
> ext4_read_block_bitmap() without s_group_info initialized, so we need to
> initialize multi-block allocator before.
>
> And we can't initialize multi-block allocator without group descriptors,
> since it use them.
> Also we need to install s_op before initializing multi-block allocator,
> because in ext4_mb_init_backend() new inode is created.

Applied, thanks.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/