From 4acedc4754ac4ea92063e8e2062adc979df9a98f Mon Sep 17 00:00:00 2001 From: wangdi Date: Thu, 17 Jun 2004 07:49:14 +0000 Subject: [PATCH] add jounal blocks in ext3_init_extents_ea --- lustre/kernel_patches/patches/ext3-extents-in-ea-2.4.20.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/kernel_patches/patches/ext3-extents-in-ea-2.4.20.patch b/lustre/kernel_patches/patches/ext3-extents-in-ea-2.4.20.patch index 7cdd5da..89bac9c 100644 --- a/lustre/kernel_patches/patches/ext3-extents-in-ea-2.4.20.patch +++ b/lustre/kernel_patches/patches/ext3-extents-in-ea-2.4.20.patch @@ -100,7 +100,7 @@ Index: linux-2.4.20/fs/ext3/extents-in-ea.c + memset(root, 0, size); + + /* first, create ea to store root of the tree */ -+ handle = ext3_journal_start(inode, EXT3_ALLOC_NEEDED + 2); ++ handle = ext3_journal_start(inode, EXT3_ALLOC_NEEDED + 3); + if (IS_ERR(handle)) + return PTR_ERR(handle); + if ((err = ext3_xattr_set(handle, inode, name_index, -- 1.8.3.1