This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
Set fileDescriptor.closed=true in Close() method. #46
Labels
kind/bug
A bug in existing code (including security flaws)
status/blocked
Unable to be worked further until needs are met
Milestone
go-mfs/fd.go
Line 41 in e5a375d
The
fileDescriptor.closed
member is never set to anything other thanfalse
(by the constructor).go-mfs/fd.go
Lines 85 to 114 in e5a375d
The only place I can think of this value getting set is in the
Close()
method. If there is agreement we can set it totrue
here.If there is no other use case of the
closed
member we should just eliminate it.The text was updated successfully, but these errors were encountered: