From d0d1ce2837ab09541de8c7ddd06f8fbf5c689880 Mon Sep 17 00:00:00 2001 From: Frederic Bohe Date: Fri, 7 Nov 2008 09:21:01 -0500 Subject: [PATCH] --- yaml --- r: 118567 b: refs/heads/master c: 23712a9c28b9f80a8cf70c8490358d5f562d2465 h: refs/heads/master i: 118565: 82e457cec82afe02c4659b6b0c7ea3d45e98791c 118563: 1dc1650ce5d4f699b6b1b345ca173d5b211e2917 118559: 5fa41af238bc076f06e727edcd5eff0ca7df73e4 v: v3 --- [refs] | 2 +- trunk/fs/ext4/ialloc.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ba65b6242d05..30ea20528dd1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ed9b3e3379731e9f9d2f73f3d7fd9e7d2ce3df4a +refs/heads/master: 23712a9c28b9f80a8cf70c8490358d5f562d2465 diff --git a/trunk/fs/ext4/ialloc.c b/trunk/fs/ext4/ialloc.c index fe34d74cfb19..2a117e286e54 100644 --- a/trunk/fs/ext4/ialloc.c +++ b/trunk/fs/ext4/ialloc.c @@ -718,6 +718,8 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode) gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT); free = ext4_free_blocks_after_init(sb, group, gdp); gdp->bg_free_blocks_count = cpu_to_le16(free); + gdp->bg_checksum = ext4_group_desc_csum(sbi, group, + gdp); } spin_unlock(sb_bgl_lock(sbi, group));