[Ocfs2-tools-devel] [PATCH 3/3] fsck.ocfs2: Use ocfs2_cluster_bitmap_new() for allocated clusters.
Sunil Mushran
sunil.mushran at oracle.com
Thu Jul 23 13:11:27 PDT 2009
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Joel Becker wrote:
> Use a memory bitmap that is based on fs_clusters instead of fs_blocks
> for allocated clusters.
>
> Signed-off-by: Joel Becker <joel.becker at oracle.com>
> ---
> fsck.ocfs2/fsck.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fsck.ocfs2/fsck.c b/fsck.ocfs2/fsck.c
> index b269e75..f8c8a33 100644
> --- a/fsck.ocfs2/fsck.c
> +++ b/fsck.ocfs2/fsck.c
> @@ -186,8 +186,8 @@ static errcode_t o2fsck_state_init(ocfs2_filesys *fs, o2fsck_state *ost)
> return ret;
> }
>
> - ret = ocfs2_block_bitmap_new(fs, "allocated clusters",
> - &ost->ost_allocated_clusters);
> + ret = ocfs2_cluster_bitmap_new(fs, "allocated clusters",
> + &ost->ost_allocated_clusters);
> if (ret) {
> com_err(whoami, ret, "while allocating a bitmap to track "
> "allocated clusters");
>
More information about the Ocfs2-tools-devel
mailing list