X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fkernel_patches%2Fpatches%2Fext3-mballoc2-2.6.10-fc3.patch;h=6d6dc0a139d53fe8b4b5925f74d232c6438f6253;hp=2a4bc1f5a9f9141cf06bd35bd35d608dd7912117;hb=61e364d8e43bca2b0f0d6bc7ea354e8fee69b91b;hpb=458542ff955d5747fd01a0f6ab7c38c268b5e35f diff --git a/lustre/kernel_patches/patches/ext3-mballoc2-2.6.10-fc3.patch b/lustre/kernel_patches/patches/ext3-mballoc2-2.6.10-fc3.patch index 2a4bc1f..6d6dc0a 100644 --- a/lustre/kernel_patches/patches/ext3-mballoc2-2.6.10-fc3.patch +++ b/lustre/kernel_patches/patches/ext3-mballoc2-2.6.10-fc3.patch @@ -1856,7 +1856,7 @@ Index: linux-2.6.10/fs/ext3/mballoc.c + int freed; + + sb = inode->i_sb; -+ if (!test_opt(sb, MBALLOC)) ++ if (!test_opt(sb, MBALLOC) || EXT3_SB(sb)->s_buddy_blocks == NULL) + ext3_free_blocks_sb(handle, sb, block, count, &freed); + else + ext3_mb_free_blocks(handle, inode, block, count, metadata, &freed);