nfs-ganesha 1.4
|
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. |
Sets the attributes for an entry.
cache_inode_setattr.c : Sets the attributes for an entry.
Definition in file cache_inode_setattr.c.
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.
[in] | entry | Entry whose attributes are to be set |
[in,out] | attr | Attributes to set/result of set |
[in] | context | FSAL credentials |
[out] | status | Returned status |
CACHE_INODE_SUCCESS | if operation is a success |
Definition at line 75 of file cache_inode_setattr.c.