Merge branch 'dev-zfs-0.7.x'
This commit is contained in:
commit
8bf9664c9c
4
common.c
4
common.c
|
@ -32,13 +32,11 @@ property_list_t *new_property_list() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void free_properties(property_list_t *root) {
|
void free_properties(property_list_t *root) {
|
||||||
if (root != 0) {
|
|
||||||
property_list_t *tmp = 0;
|
property_list_t *tmp = 0;
|
||||||
do {
|
while(root) {
|
||||||
tmp = root->pnext;
|
tmp = root->pnext;
|
||||||
free(root);
|
free(root);
|
||||||
root = tmp;
|
root = tmp;
|
||||||
} while(tmp);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -241,7 +241,7 @@ func (d *Dataset) SendSize(FromName string, flags SendFlags) (size int64, err er
|
||||||
errch <- tmpe
|
errch <- tmpe
|
||||||
}()
|
}()
|
||||||
|
|
||||||
r.SetReadDeadline(time.Now().Add(15 * time.Second))
|
r.SetReadDeadline(time.Now().Add(60 * time.Second))
|
||||||
var data []byte
|
var data []byte
|
||||||
if data, err = ioutil.ReadAll(r); err != nil {
|
if data, err = ioutil.ReadAll(r); err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue