nfs-ganesha 1.4
Functions

fsal_fsinfo.c File Reference

#include "fsal.h"
#include "fsal_internal.h"
#include "fsal_convert.h"
#include <sys/statvfs.h>

Go to the source code of this file.

Functions

fsal_status_t XFSFSAL_dynamic_fsinfo (fsal_handle_t *p_filehandle, fsal_op_context_t *p_context, fsal_dynamicfsinfo_t *p_dynamicinfo)

Function Documentation

fsal_status_t XFSFSAL_dynamic_fsinfo ( fsal_handle_t p_filehandle,
fsal_op_context_t p_context,
fsal_dynamicfsinfo_t p_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.
cred(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: NULL pointer passed as input parameter.
  • ERR_FSAL_SERVERFAULT: Unexpected error.

Definition at line 41 of file FSAL_XFS/fsal_fsinfo.c.