nfs-ganesha 1.4
Functions

cache_inode_setattr.c File Reference

Sets the attributes for an entry. More...

#include "log.h"
#include "HashData.h"
#include "HashTable.h"
#include "fsal.h"
#include "cache_inode.h"
#include "nfs4_acls.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <time.h>
#include <pthread.h>
#include <assert.h>

Go to the source code of this file.

Functions

cache_inode_status_t cache_inode_setattr (cache_entry_t *entry, fsal_attrib_list_t *attr, fsal_op_context_t *context, cache_inode_status_t *status)
 Set the attributes for a file.

Detailed Description

Sets the attributes for an entry.

Author:
Author:
leibovic
Date:
Date:
2006/02/14 11:47:40
Version:
Revision:
1.19

cache_inode_setattr.c : Sets the attributes for an entry.

Definition in file cache_inode_setattr.c.


Function Documentation

cache_inode_status_t cache_inode_setattr ( cache_entry_t entry,
fsal_attrib_list_t attr,
fsal_op_context_t context,
cache_inode_status_t status 
)

Set the attributes for a file.

This function sets the attributes of a file, both in the cache and in the underlying filesystem.

Parameters:
[in]entryEntry whose attributes are to be set
[in,out]attrAttributes to set/result of set
[in]contextFSAL credentials
[out]statusReturned status
Return values:
CACHE_INODE_SUCCESSif operation is a success

Definition at line 75 of file cache_inode_setattr.c.