static fsal_status_t renamefile(struct fsal_obj_handle *obj_hdl, struct fsal_obj_handle *olddir_hdl, const char *old_name, struct fsal_obj_handle *newdir_hdl, const char *new_name) { fsal_status_t status; status = GPFSFSAL_rename(olddir_hdl, old_name, newdir_hdl, new_name, op_ctx); return status; }
fsal_status_t WRAP_GPFSFSAL_rename(fsal_handle_t * p_old_parentdir_handle, /* IN */ fsal_name_t * p_old_name, /* IN */ fsal_handle_t * p_new_parentdir_handle, /* IN */ fsal_name_t * p_new_name, /* IN */ fsal_op_context_t * p_context, /* IN */ fsal_attrib_list_t * p_src_dir_attributes, /* [ IN/OUT ] */ fsal_attrib_list_t * p_tgt_dir_attributes /* [ IN/OUT ] */ ) { return GPFSFSAL_rename((gpfsfsal_handle_t *) p_old_parentdir_handle, p_old_name, (gpfsfsal_handle_t *) p_new_parentdir_handle, p_new_name, (gpfsfsal_op_context_t *) p_context, p_src_dir_attributes, p_tgt_dir_attributes); }