Commit 11ce2ba7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e8c26821
...@@ -404,9 +404,10 @@ func (bfroot *BigFileRoot) mkdir(name string, fctx *fuse.Context) (_ *nodefs.Ino ...@@ -404,9 +404,10 @@ func (bfroot *BigFileRoot) mkdir(name string, fctx *fuse.Context) (_ *nodefs.Ino
} }
bfdir := &BigFileDir{ bfdir := &BigFileDir{
Node: nodefs.NewDefaultNode(), Node: nodefs.NewDefaultNode(),
oid: oid, oid: oid,
zdb: zdb, zdb: zdb,
revTab: make(map[zodb.Tid]*BigFileRev),
} }
bfhead := &BigFileRev{ bfhead := &BigFileRev{
......
...@@ -255,8 +255,6 @@ def test_bigfile_empty(): ...@@ -255,8 +255,6 @@ def test_bigfile_empty():
assert tail2[:len(s2)] == s2 assert tail2[:len(s2)] == s2
assert tail2[len(s2):] == b'\0'*(blksize - len(s2)) assert tail2[len(s2):] == b'\0'*(blksize - len(s2))
return # XXX temp
# path to f's state @tcommit1 # path to f's state @tcommit1
fpath1 = fpath + ("/@%s" % tcommit1.encode("hex")) fpath1 = fpath + ("/@%s" % tcommit1.encode("hex"))
......
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