From 61e364d8e43bca2b0f0d6bc7ea354e8fee69b91b Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 7 Aug 2005 11:18:14 +0000 Subject: [PATCH] b=7264 - mballoc must not be used during orphan cleanup --- lustre/kernel_patches/patches/ext3-mballoc2-2.6.10-fc3.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1