nfs-ganesha 1.4
Defines | Functions

nfs4_op_restorefh.c File Reference

Routines used for managing the NFS4_OP_RESTOREFH operation (number 31). More...

#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/file.h>
#include "HashData.h"
#include "HashTable.h"
#include "log.h"
#include "ganesha_rpc.h"
#include "nfs23.h"
#include "nfs4.h"
#include "mount.h"
#include "nfs_core.h"
#include "cache_inode.h"
#include "cache_inode_lru.h"
#include "nfs_exports.h"
#include "nfs_creds.h"
#include "nfs_proto_functions.h"
#include "nfs_tools.h"
#include "nfs_file_handle.h"

Go to the source code of this file.

Defines

#define arg_RESTOREFH   op->nfs_argop4_u.oprestorefh
 The NFS4_OP_RESTOREFH operation.
#define res_RESTOREFH   resp->nfs_resop4_u.oprestorefh

Functions

int nfs4_op_restorefh (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
void nfs4_op_restorefh_Free (RESTOREFH4res *resp)
 frees what was allocared to handle nfs4_op_restorefh.

Detailed Description

Routines used for managing the NFS4_OP_RESTOREFH operation (number 31).

Author:
Author:
deniel
Date:
Date:
2006/01/05 15:14:52
Version:
Revision:
1.10

nfs4_op_restorefh.c : Routines used for managing the NFS4_OP_RESTOREFH operation.

Definition in file nfs4_op_restorefh.c.


Define Documentation

#define arg_RESTOREFH   op->nfs_argop4_u.oprestorefh

The NFS4_OP_RESTOREFH operation.

This functions handles the NFS4_OP_RESTOREFH operation in NFSv4. This function can be called only from nfs4_Compound. This operation replaces the current FH with the previously saved FH.

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:
all the nfs4_op_<*> function
nfs4_Compound

Definition at line 86 of file nfs4_op_restorefh.c.

#define res_RESTOREFH   resp->nfs_resop4_u.oprestorefh

Definition at line 87 of file nfs4_op_restorefh.c.