nfs-ganesha 1.4
Functions

fsal_fsinfo.c File Reference

#include "fsal.h"
#include "fsal_internal.h"
#include "fsal_convert.h"
#include "namespace.h"

Go to the source code of this file.

Functions

fsal_status_t FUSEFSAL_dynamic_fsinfo (fsal_handle_t *handle, fsal_op_context_t *p_context, fsal_dynamicfsinfo_t *dynamicinfo)

Function Documentation

fsal_status_t FUSEFSAL_dynamic_fsinfo ( fsal_handle_t handle,
fsal_op_context_t p_context,
fsal_dynamicfsinfo_t dynamicinfo 
)

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 51 of file FSAL_FUSELIKE/fsal_fsinfo.c.