nfs-ganesha 1.4
|
Go to the source code of this file.
Functions | |
fsal_status_t | HPSSFSAL_truncate (hpssfsal_handle_t *filehandle, hpssfsal_op_context_t *p_context, fsal_size_t length, hpssfsal_file_t *file_descriptor, fsal_attrib_list_t *object_attributes) |
fsal_status_t HPSSFSAL_truncate | ( | hpssfsal_handle_t * | filehandle, |
hpssfsal_op_context_t * | p_context, | ||
fsal_size_t | length, | ||
hpssfsal_file_t * | file_descriptor, | ||
fsal_attrib_list_t * | object_attributes | ||
) |
FSAL_truncate: Modify the data length of a regular file.
filehandle | (input): Handle of the file is to be truncated. |
cred | (input): Authentication context for the operation (user,...). |
length | (input): The new data length for the file. |
object_attributes | (optionnal input/output): The post operation attributes of the file. 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 51 of file FSAL_HPSS/fsal_truncate.c.