storing backpointer to nfs41_root from nfs41_client
This commit is contained in:
parent
7527c022a1
commit
7d5e6eead2
2 changed files with 3 additions and 0 deletions
|
|
@ -295,6 +295,7 @@ static int root_client_create(
|
|||
eprintf("nfs41_client_create() failed with %d\n", status);
|
||||
goto out;
|
||||
}
|
||||
client->root = root;
|
||||
rpc->client = client;
|
||||
|
||||
/* create session (and client takes ownership) */
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
struct __nfs41_session;
|
||||
struct __nfs41_client;
|
||||
struct __rpc_client;
|
||||
struct __nfs41_root;
|
||||
|
||||
typedef struct __nfs41_superblock {
|
||||
nfs41_fsid fsid;
|
||||
|
|
@ -123,6 +124,7 @@ typedef struct __nfs41_client {
|
|||
struct pnfs_file_device_list *devices;
|
||||
struct list_entry root_entry; /* position in nfs41_root.clients */
|
||||
HANDLE cond;
|
||||
struct __nfs41_root *root;
|
||||
bool_t in_recovery;
|
||||
} nfs41_client;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue