Whamcloud - gitweb
iam: remove unreliable correctness check.
authornikita <nikita>
Sun, 19 Nov 2006 00:54:40 +0000 (00:54 +0000)
committernikita <nikita>
Sun, 19 Nov 2006 00:54:40 +0000 (00:54 +0000)
lustre/kernel_patches/patches/ext3-iam-separate.patch

index f44f95c..f6cf5b5 100644 (file)
@@ -2874,7 +2874,7 @@ Index: iam/fs/ext3/iam_lvar.c
 ===================================================================
 --- iam.orig/fs/ext3/iam_lvar.c
 +++ iam/fs/ext3/iam_lvar.c
-@@ -0,0 +1,1040 @@
+@@ -0,0 +1,1045 @@
 +/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
 + * vim:expandtab:shiftwidth=8:tabstop=8:
 + *
@@ -3177,7 +3177,12 @@ Index: iam/fs/ext3/iam_lvar.c
 +                        BREAKPOINT();
 +                        return 0;
 +                }
-+                if (nexthash < starthash) {
++                if (0 && nexthash < starthash) {
++                        /*
++                         * Unfortunately this useful invariant cannot be
++                         * reliably checked as parent node is nor necessarily
++                         * locked.
++                         */
 +                        n_print(leaf);
 +                        printk("%#x < %#x\n", nexthash, starthash);
 +                        dump_stack();