[patch 2/3] reiser4: fix read_tail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Update hint when reading tails

Signed-off-by: Edward Shishkin <[email protected]>
---
 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;
 }
 


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux