fix mutex
This commit is contained in:
parent
d2e5b34b64
commit
b511eecec3
3
box.go
3
box.go
@ -78,9 +78,6 @@ func (b *Box) ZFSIsLastSnapshot(src Snapshot) (is bool, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
b.zfs.M.Lock()
|
||||
defer b.zfs.M.Unlock()
|
||||
|
||||
_, err = b.ZFSGetNextSnapshot(src)
|
||||
if err != nil {
|
||||
if err.Error() == "no snapshot" {
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "c93aa20"
|
||||
var buildstamp = "2021-11-14_10:14:42"
|
||||
var commits = "25"
|
||||
var version = "c93aa20-b25 - 2021-11-14_10:14:42"
|
||||
var githash = "d2e5b34"
|
||||
var buildstamp = "2021-11-14_10:19:30"
|
||||
var commits = "26"
|
||||
var version = "d2e5b34-b26 - 2021-11-14_10:19:30"
|
||||
|
Loading…
Reference in New Issue
Block a user