nfs-ganesha 1.4
|
#include "fsal.h"
#include "fsal_internal.h"
#include "FSAL/access_check.h"
#include "fsal_convert.h"
Go to the source code of this file.
Functions | |
fsal_status_t | XFSFSAL_rename (fsal_handle_t *p_old_parentdir_handle, fsal_name_t *p_old_name, fsal_handle_t *p_new_parentdir_handle, fsal_name_t *p_new_name, fsal_op_context_t *p_context, fsal_attrib_list_t *p_src_dir_attributes, fsal_attrib_list_t *p_tgt_dir_attributes) |
fsal_status_t XFSFSAL_rename | ( | fsal_handle_t * | p_old_parentdir_handle, |
fsal_name_t * | p_old_name, | ||
fsal_handle_t * | p_new_parentdir_handle, | ||
fsal_name_t * | p_new_name, | ||
fsal_op_context_t * | p_context, | ||
fsal_attrib_list_t * | p_src_dir_attributes, | ||
fsal_attrib_list_t * | p_tgt_dir_attributes | ||
) |
FSAL_rename: Change name and/or parent dir of a filesystem object.
old_parentdir_handle | (input): Source parent directory of the object is to be moved/renamed. |
p_old_name | (input): Pointer to the current name of the object to be moved/renamed. |
new_parentdir_handle | (input): Target parent directory for the object. |
p_new_name | (input): Pointer to the new name for the object. |
cred | (input): Authentication context for the operation (user,...). |
src_dir_attributes | (optionnal input/output): Post operation attributes for the source 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. |
tgt_dir_attributes | (optionnal input/output): Post operation attributes for the target 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. |
Definition at line 78 of file FSAL_XFS/fsal_rename.c.