Add function to get root filehandle from a nfs context
parent
e6cac86f77
commit
8724c83390
|
@ -104,3 +104,4 @@ void rpc_unset_autoreconnect(struct rpc_context *rpc);
|
|||
int rpc_add_fragment(struct rpc_context *rpc, char *data, uint64_t size);
|
||||
void rpc_free_all_fragments(struct rpc_context *rpc);
|
||||
|
||||
const struct nfs_fh3 *nfs_get_rootfh(struct nfs_context *nfs);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue