Commit 466d67f1 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Release files before unregistering.

parent 3c930a5e
......@@ -331,6 +331,7 @@ func (me *FileSystemConnector) Create(header *InHeader, input *CreateIn, name st
func (me *FileSystemConnector) Release(header *InHeader, input *ReleaseIn) {
node := me.getInodeData(header.NodeId)
me.getOpenedFile(input.Fh).WithFlags.File.Release()
node.mount.unregisterFileHandle(input.Fh, node)
}
......
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