nfs-ganesha 1.4
Functions

fsal_unlink.c File Reference

#include "fsal.h"
#include "fsal_internal.h"
#include "fsal_convert.h"
#include <unistd.h>

Go to the source code of this file.

Functions

fsal_status_t LUSTREFSAL_unlink (fsal_handle_t *p_parent_directory_handle, fsal_name_t *p_object_name, fsal_op_context_t *p_context, fsal_attrib_list_t *p_parent_directory_attributes)

Function Documentation

fsal_status_t LUSTREFSAL_unlink ( fsal_handle_t p_parent_directory_handle,
fsal_name_t p_object_name,
fsal_op_context_t p_context,
fsal_attrib_list_t p_parent_directory_attributes 
)

FSAL_unlink: Remove a filesystem object .

Parameters:
parentdir_handle(input): Handle of the parent directory of the object to be deleted.
p_object_name(input): Name of the object to be removed.
cred(input): Authentication context for the operation (user,...).
parentdir_attributes(optionnal input/output): Post operation attributes of the parent directory. As input, it defines the attributes that the caller wants to retrieve (by positioning flags into this structure) and the output is built considering this input (it fills the structure according to the flags it contains). May be NULL.
Returns:
Major error codes :
  • ERR_FSAL_NO_ERROR (no error)
  • Another error code if an error occured.

Definition at line 46 of file FSAL_LUSTRE/fsal_unlink.c.