From bc0b8d96a05656a98981a33d1d4e9c2426892228 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Mon, 5 Jan 2015 19:03:25 +0900 Subject: [PATCH] sys/vfs/hammer: fix comments This patch fixes typo in comments. On-memory record structure hammer_record is being removed from on-memory RB-Tree, not on-disk B-Tree. --- sys/vfs/hammer/hammer_object.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vfs/hammer/hammer_object.c b/sys/vfs/hammer/hammer_object.c index af83c28..e3b29d8 100644 --- a/sys/vfs/hammer/hammer_object.c +++ b/sys/vfs/hammer/hammer_object.c @@ -405,7 +405,7 @@ hammer_rel_mem_record(struct hammer_record *record) } /* - * Remove the record from the B-Tree + * Remove the record from the RB-Tree */ if (record->flags & HAMMER_RECF_ONRBTREE) { RB_REMOVE(hammer_rec_rb_tree, @@ -453,7 +453,7 @@ hammer_rel_mem_record(struct hammer_record *record) } /* - * Do this test after removing record from the B-Tree. + * Do this test after removing record from the RB-Tree. */ if (target_ip) { hammer_test_inode(target_ip); -- 1.7.1