예제 #1
0
/*
 * NOTE: this is done under protection of the attributes rwlock in cache entry.
 */
static fsal_status_t setattrs(struct fsal_obj_handle *obj_hdl,
			      struct attrlist *attrs)
{
	fsal_status_t status;

	status = GPFSFSAL_setattrs(obj_hdl, op_ctx, attrs);

	return status;
}
예제 #2
0
fsal_status_t WRAP_GPFSFSAL_setattrs(fsal_handle_t * p_filehandle,       /* IN */
                                    fsal_op_context_t * p_context,      /* IN */
                                    fsal_attrib_list_t * p_attrib_set,  /* IN */
                                    fsal_attrib_list_t *
                                    p_object_attributes /* [ IN/OUT ] */ )
{
  return GPFSFSAL_setattrs((gpfsfsal_handle_t *) p_filehandle,
                          (gpfsfsal_op_context_t *) p_context, p_attrib_set,
                          p_object_attributes);
}
예제 #3
0
/*
 * NOTE: this is done under protection of the attributes rwlock in cache entry.
 */
fsal_status_t gpfs_setattr2(struct fsal_obj_handle *obj_hdl,
				   bool bypass,
				   struct state_t *state,
				   struct attrlist *attrs)
{
	fsal_status_t status;

	status = GPFSFSAL_setattrs(obj_hdl, op_ctx, attrs);

	return status;
}