[patch 2/3] reiser4: fix read_tail
From: Edward Shishkin
Date: Mon Jul 16 2007 - 14:52:11 EST
Update hint when reading tails
Signed-off-by: Edward Shishkin <edward@xxxxxxxxxxx>
---
linux-2.6.22-rc6-mm1/fs/reiser4/plugin/item/tail.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.22-rc6-mm1/fs/reiser4/plugin/item/tail.c.orig
+++ linux-2.6.22-rc6-mm1/fs/reiser4/plugin/item/tail.c
@@ -758,7 +758,7 @@
coord->unit_pos--;
coord->between = AFTER_UNIT;
}
-
+ reiser4_set_hint(hint, &f->key, ZNODE_READ_LOCK);
return 0;
}