예제 #1
0
fsal_status_t WRAP_GPFSFSAL_unlink(fsal_handle_t * p_parent_directory_handle,    /* IN */
                                  fsal_name_t * p_object_name,  /* IN */
                                  fsal_op_context_t * p_context,        /* IN */
                                  fsal_attrib_list_t *
                                  p_parent_directory_attributes /* [IN/OUT ] */ )
{
  return GPFSFSAL_unlink((gpfsfsal_handle_t *) p_parent_directory_handle, p_object_name,
                        (gpfsfsal_op_context_t *) p_context,
                        p_parent_directory_attributes);
}
예제 #2
0
/* file_unlink
 * unlink the named file in the directory
 */
static fsal_status_t file_unlink(struct fsal_obj_handle *dir_hdl,
				 struct fsal_obj_handle *obj_hdl,
				 const char *name)
{
	fsal_status_t status;

	status = GPFSFSAL_unlink(dir_hdl, name, op_ctx);

	return status;
}