Commit c673f1b1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 61d438a4
...@@ -294,7 +294,6 @@ type BigFileHead struct { ...@@ -294,7 +294,6 @@ type BigFileHead struct {
//x *BigFileDir //x *BigFileDir
data *BigFileData data *BigFileData
//at *BigFileAt
//inv *BigFileInvalidations //inv *BigFileInvalidations
} }
...@@ -321,13 +320,6 @@ type BigFileData struct { ...@@ -321,13 +320,6 @@ type BigFileData struct {
bigfile *BigFile bigfile *BigFile
} }
// // BigFileAt represents "/bigfile/<bigfileX>/head/at"
// type BigFileAt struct {
// nodefs.Node
//
// bigfile *BigFile
// }
// /bigfile -> Mkdir receives client request to create /bigfile/<bigfileX>. // /bigfile -> Mkdir receives client request to create /bigfile/<bigfileX>.
// //
...@@ -434,13 +426,7 @@ func (bfroot *BigFileRoot) Mkdir(name string, mode uint32, fctx *fuse.Context) ( ...@@ -434,13 +426,7 @@ func (bfroot *BigFileRoot) Mkdir(name string, mode uint32, fctx *fuse.Context) (
bigfile: bf, bigfile: bf,
} }
// bfat := &BigFileAt{
// Node: nodefs.NewDefaultNode(),
// bigfile: bf,
// }
bfhead.data = bfdata bfhead.data = bfdata
// bfhead.at = bfat
bfroot.tab[oid] = bfdir bfroot.tab[oid] = bfdir
bfroot.mu.Unlock() bfroot.mu.Unlock()
......
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