Whamcloud - gitweb
iam: little cleanup.
authornikita <nikita>
Wed, 25 Oct 2006 17:26:20 +0000 (17:26 +0000)
committernikita <nikita>
Wed, 25 Oct 2006 17:26:20 +0000 (17:26 +0000)
lustre/kernel_patches/patches/ext3-iam-separate.patch

index 23832f6..78fed25 100644 (file)
@@ -217,6 +217,7 @@ Index: iam/fs/ext3/iam.c
 +      path->ip_container = c;
 +      path->ip_frame = path->ip_frames;
 +      path->ip_data = pd;
++        path->ip_leaf.il_path = path;
 +}
 +
 +static void iam_leaf_fini(struct iam_leaf *leaf);
@@ -384,7 +385,6 @@ Index: iam/fs/ext3/iam.c
 +      err   = descr->id_ops->id_node_read(c, block, NULL, &bh);
 +      if (err == 0) {
 +              leaf->il_bh = bh;
-+                leaf->il_path = path;
 +              err = iam_leaf_ops(leaf)->init(leaf);
 +                assert_inv(ergo(err == 0, iam_leaf_check(leaf)));
 +      }