repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add function to get root filehandle from a nfs context
[deb_libnfs.git]
/
lib
/
libnfs.c
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index ace44668cfb02816c174a1662bb82bc05e0e08ae..8c7ad4e4476ca8ec2148ec9983079e89699cb455 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-3512,3
+3512,6
@@
const char *nfs_get_export(struct nfs_context *nfs) {
return nfs->export;
}
+const struct nfs_fh3 *nfs_get_rootfh(struct nfs_context *nfs) {
+ return &nfs->rootfh;
+}