Skip to contentSkip to conversation

reiser4: fix read_tail

PATCH In review Edward Shishkin 1 participant 1 message Jul 16, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 reiser4: fix read_tail

Update hint when reading tails

---
 linux-2.6.22-rc6-mm1/fs/reiser4/plugin/item/tail.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
fs/reiser4/plugin/item/tail.c renamed from fs/reiser4/plugin/item/tail.c.orig +1 -1
@@ -758,7 +758,7 @@
 		coord->unit_pos--;
 		coord->between = AFTER_UNIT;
 	}
-
+	reiser4_set_hint(hint, &f->key, ZNODE_READ_LOCK);
 	return 0;
 }