sbin/hammer: Fix workaround made in 2f8c6a59
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 5 Mar 2015 19:23:32 +0000 (04:23 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 5 Mar 2015 21:00:40 +0000 (06:00 +0900)
- 'elm->internal.mirror_tid == 0' was not necessary.
  It failed to detect some cases that it was going to workaround.

sbin/hammer/cmd_show.c

index 17a2edb..b2bc843 100644 (file)
@@ -272,8 +272,7 @@ print_btree_elm(hammer_btree_elm_t elm, int i, u_int8_t type,
                if (type == HAMMER_BTREE_TYPE_INTERNAL &&
                    i == 0 &&
                    elm->base.create_tid == 1 &&
-                   elm->base.delete_tid == 1 &&
-                   elm->internal.mirror_tid == 0)
+                   elm->base.delete_tid == 1)
                        deleted = ' ';  /* could use unique mark */
                else
                        deleted = 'd';