[#970] fstree: Move delete implementation to a separate file
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
7f692409cf
commit
fb74524ac7
5 changed files with 52 additions and 25 deletions
|
@ -19,7 +19,7 @@ func (t *FSTree) Init() error {
|
|||
if !t.readOnly {
|
||||
f := newSpecificWriteData(t.fileCounter, t.RootPath, t.Permissions, t.noSync)
|
||||
if f != nil {
|
||||
t.writeData = f
|
||||
t.writer = f
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue