nfs-ganesha 1.4
Functions

mfsl_async_getattr.c File Reference

#include "fsal_types.h"
#include "fsal.h"
#include "mfsl_types.h"
#include "mfsl.h"
#include "common_utils.h"

Go to the source code of this file.

Functions

fsal_status_t MFSAL_getattrs_check_perms (mfsl_object_t *filehandle, mfsl_object_specific_data_t *pspecdata, fsal_op_context_t *p_context, mfsl_context_t *p_mfsl_context, fsal_attrib_list_t *object_attributes)
fsal_status_t MFSL_getattrs (mfsl_object_t *filehandle, fsal_op_context_t *p_context, mfsl_context_t *p_mfsl_context, fsal_attrib_list_t *object_attributes)

Function Documentation

fsal_status_t MFSAL_getattrs_check_perms ( mfsl_object_t filehandle,
mfsl_object_specific_data_t pspecdata,
fsal_op_context_t p_context,
mfsl_context_t p_mfsl_context,
fsal_attrib_list_t object_attributes 
)

MFSAL_getattrs_check_perms : Checks authorization to perform an asynchronous getattr.

Checks authorization to perform an asynchronous getattr.

Parameters:
target_handle[IN] mfsl object to be operated on.
pspecdata[IN] object's specific data
p_context[IN] associated fsal context
object_attributes[INOUT] attributes for the objet
Returns:
always FSAL_NO_ERROR (not yet implemented

Definition at line 60 of file mfsl_async_getattr.c.

fsal_status_t MFSL_getattrs ( mfsl_object_t filehandle,
fsal_op_context_t p_context,
mfsl_context_t p_mfsl_context,
fsal_attrib_list_t object_attributes 
)

MFSL_getattrs : performs getattr but takes care of the asynchronous logic.

Performs getattr but takes care of the asynchronous logic.

Parameters:
filehandle[IN] mfsl object related to the object
p_context[IN] associated fsal context
p_mfsl_context[INOUT] associated mfsl context
object_attributes[INOUT] attributes for the object
Returns:
the same as FSAL_getattrs

Definition at line 89 of file mfsl_async_getattr.c.