#include <string.h>
#include <rpc/rpc.h>
#include <rpc/xdr.h>
#include "nfs4.h"
#include "fsal_internal.h"
#include "fsal_convert.h"
#include "fsal_common.h"
#include "nfs_proto_functions.h"
#include "fsal_nfsv4_macros.h"
Go to the source code of this file.
Define Documentation
#define FSAL_FSINFO_IDX_OP_GETATTR 1 |
#define FSAL_FSINFO_IDX_OP_PUTFH 0 |
#define FSAL_FSINFO_NB_OP_ALLOC 2 |
Function Documentation
FSAL_dynamic_fsinfo: Return dynamic filesystem info such as used size, free size, number of objects...
- Parameters:
-
filehandle | (input): Handle of an object in the filesystem whom info is to be retrieved. |
p_context | (input): Authentication context for the operation (user,...). |
dynamicinfo | (output): Pointer to the static info of the filesystem. |
- Returns:
- Major error codes:
- ERR_FSAL_NO_ERROR (no error)
- ERR_FSAL_FAULT (a NULL pointer was passed as mandatory argument)
- Other error codes can be returned : ERR_FSAL_IO, ...
Definition at line 58 of file FSAL_PROXY/fsal_fsinfo.c.