Whamcloud - gitweb
add jounal blocks in ext3_init_extents_ea
authorwangdi <wangdi>
Thu, 17 Jun 2004 07:49:14 +0000 (07:49 +0000)
committerwangdi <wangdi>
Thu, 17 Jun 2004 07:49:14 +0000 (07:49 +0000)
lustre/kernel_patches/patches/ext3-extents-in-ea-2.4.20.patch

index 7cdd5da..89bac9c 100644 (file)
@@ -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,