repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize the rootfh handle when creating the nfs context or else
[deb_libnfs.git]
/
lib
/
libnfs.c
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index c3904bf8eed666dee1af3bc4ffd6a2c87ce3fc14..edaeca4df06fb3afdc6ecbc090494fe807663521 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-147,6
+147,9
@@
struct nfs_context *nfs_init_context(void)
nfs->server = NULL;
nfs->export = NULL;
+ nfs->rootfh.data.data_len = 0;
+ nfs->rootfh.data.data_val = NULL;
+
return nfs;
}