nfs-ganesha 1.4
Defines | Functions

nfs41_op_exchange_id.c File Reference

Routines used for managing the NFS4_OP_EXCHANGE_ID operation. More...

#include <pthread.h>
#include "log.h"
#include "nfs4.h"
#include "mount.h"
#include "nfs_core.h"
#include "nfs_proto_functions.h"
#include "sal_functions.h"

Go to the source code of this file.

Defines

#define arg_EXCHANGE_ID4   op->nfs_argop4_u.opexchange_id
#define res_EXCHANGE_ID4   resp->nfs_resop4_u.opexchange_id
#define res_EXCHANGE_ID4_ok   resp->nfs_resop4_u.opexchange_id.EXCHANGE_ID4res_u.eir_resok4

Functions

int nfs41_op_exchange_id (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
void nfs41_op_exchange_id_Free (EXCHANGE_ID4res *resp)

Detailed Description

Routines used for managing the NFS4_OP_EXCHANGE_ID operation.

Routines used for managing the EXCHANGE_ID operation.

Definition in file nfs41_op_exchange_id.c.


Define Documentation

#define arg_EXCHANGE_ID4   op->nfs_argop4_u.opexchange_id
#define res_EXCHANGE_ID4   resp->nfs_resop4_u.opexchange_id
#define res_EXCHANGE_ID4_ok   resp->nfs_resop4_u.opexchange_id.EXCHANGE_ID4res_u.eir_resok4

Function Documentation

int nfs41_op_exchange_id ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

nfs41_op_exchange_id: The NFS4_OP_EXCHANGE_ID operation.

Gets the currentFH for the current compound requests.

Parameters:
op[IN] pointer to nfs4_op arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_op results
Returns:
NFS4_OK if successfull, other values show an error.
See also:
nfs4_Compound

Todo:
: plante le client sous windows. Ai-je réellement besoin de cela ????
Todo:
FSF: old code ifdefed out nfs_compare_clientcred with _NFSV4_COMPARE_CRED_IN_EXCHANGE_ID
Todo:
FSF: should also check if there is no state
Todo:
FSF: expire old clientid?
Todo:
FSF: old code ifdefed out nfs_compare_clientcred with _NFSV4_COMPARE_CRED_IN_EXCHANGE_ID
Todo:
: this is not implemented, the things it updates aren't even tracked
Todo:
FSF: not the best way to handle this but keeps from crashing
Todo:
FSF: not the best way to handle this but keeps from crashing

Definition at line 78 of file nfs41_op_exchange_id.c.

void nfs41_op_exchange_id_Free ( EXCHANGE_ID4res resp)

nfs4_op_setclientid_Free: frees what was allocared to handle nfs4_op_setclientid.

Frees what was allocared to handle nfs4_op_setclientid.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 498 of file nfs41_op_exchange_id.c.