fix nfs close file on read
This commit is contained in:
parent
2d72790c1a
commit
77d19e08fc
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ func onRead(ctx context.Context, w *response, userHandle Handler) error {
|
|||
}
|
||||
return &NFSStatusError{NFSStatusAccess, err}
|
||||
}
|
||||
defer fh.Close(ctx)
|
||||
|
||||
resp := nfsReadResponse{}
|
||||
|
||||
|
|
Loading…
Reference in a new issue