From cc4f2b0f2c6539b38cfea12df726b628c9496ca9 Mon Sep 17 00:00:00 2001 From: Tao Ma Date: Thu, 8 Jul 2010 11:11:11 +0800 Subject: [PATCH] --- yaml --- r: 201027 b: refs/heads/master c: 0a463b74e7e6856b24e613de2b85237c6e11890b h: refs/heads/master i: 201025: cc603750f5f3b88a936624b869cb028d0deca6cd 201023: 633499cea790e1e133e2061cba25ae32e68a3260 v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/suballoc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 72247790c3dc..50f641dc3ba4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f471c9df922a80ca9af1d9a490b4aab3f990ec19 +refs/heads/master: 0a463b74e7e6856b24e613de2b85237c6e11890b diff --git a/trunk/fs/ocfs2/suballoc.c b/trunk/fs/ocfs2/suballoc.c index f4c2a9eb8c4d..a8e6a95a353f 100644 --- a/trunk/fs/ocfs2/suballoc.c +++ b/trunk/fs/ocfs2/suballoc.c @@ -741,7 +741,7 @@ static int ocfs2_block_group_alloc(struct ocfs2_super *osb, le16_to_cpu(bg->bg_free_bits_count)); le32_add_cpu(&cl->cl_recs[alloc_rec].c_total, le16_to_cpu(bg->bg_bits)); - cl->cl_recs[alloc_rec].c_blkno = cpu_to_le64(bg->bg_blkno); + cl->cl_recs[alloc_rec].c_blkno = bg->bg_blkno; if (le16_to_cpu(cl->cl_next_free_rec) < le16_to_cpu(cl->cl_count)) le16_add_cpu(&cl->cl_next_free_rec, 1);