Zero mout the nfs cb data struct after alloc in async lseet

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2017-06-15 17:01:38 -07:00
parent 004672a855
commit a17f6aefdf
1 changed files with 1 additions and 0 deletions

View File

@ -4245,6 +4245,7 @@ int nfs_lseek_async(struct nfs_context *nfs, struct nfsfh *nfsfh, int64_t offset
"cb data");
return -1;
}
memset(data, 0, sizeof(struct nfs_cb_data));
data->nfs = nfs;
data->nfsfh = nfsfh;