tuxillo's projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efba773
)
sbin/hammer: Fix workaround made in 2f8c6a59
author
Tomohiro Kusumi
<kusumi.tomohiro@gmail.com>
Thu, 5 Mar 2015 19:23:32 +0000
(
04:23
+0900)
committer
Tomohiro 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
patch
|
blob
|
blame
|
history
diff --git
a/sbin/hammer/cmd_show.c
b/sbin/hammer/cmd_show.c
index
17a2edb
..
b2bc843
100644
(file)
--- a/
sbin/hammer/cmd_show.c
+++ b/
sbin/hammer/cmd_show.c
@@
-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';