Commit fd6de09e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent dac4dbb0
......@@ -2071,7 +2071,7 @@ func (root *Root) lookup(name string, fctx *fuse.Context) (_ *Head, err error) {
revDir = &Head{
// XXX how to test forgets:
// echo 2 >/proc/sys/vm/drop_caches (root)
// mount -oremount $mntpt (root ?)
// mount -i -oremount $mntpt (root ?) (shrinks dcache)
// notify invalidate dentry from inside fs
fsNode: newFSNode(&fsOptions{Sticky: false}), // XXX + Head.OnForget() -> del root.revTab[]
rev: rev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment