nfs-ganesha 1.4
|
Gets the attributes for an entry. More...
#include "log.h"
#include "HashData.h"
#include "HashTable.h"
#include "fsal.h"
#include "cache_inode.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_getattr (cache_entry_t *entry, fsal_attrib_list_t *attr, fsal_op_context_t *context, cache_inode_status_t *status) |
Gets the attributes for a cached entry. |
Gets the attributes for an entry.
cache_inode_getattr.c : Gets the attributes for an entry.
Definition in file cache_inode_getattr.c.
cache_inode_status_t cache_inode_getattr | ( | cache_entry_t * | entry, |
fsal_attrib_list_t * | attr, | ||
fsal_op_context_t * | context, | ||
cache_inode_status_t * | status | ||
) |
Gets the attributes for a cached entry.
Gets the attributes for a cached entry. The FSAL attributes are kept in a structure when the entry is added to the cache. Currently this structure is copied out to the caller after possibly being reloaded from the FSAL.
[in] | entry | Entry to be managed. |
[out] | attr | Pointer to the results |
[in] | context | FSAL credentials |
[out] | status | Returned status |
CACHE_INODE_SUCCESS | if operation is a success |
Definition at line 76 of file cache_inode_getattr.c.