nfs-ganesha 1.4
Functions

cache_inode_getattr.c File Reference

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.

Detailed Description

Gets the attributes for an entry.

Author:
Author:
deniel
Date:
Date:
2005/11/28 17:02:26
Version:
Revision:
1.17

cache_inode_getattr.c : Gets the attributes for an entry.

Definition in file cache_inode_getattr.c.


Function Documentation

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.

Parameters:
[in]entryEntry to be managed.
[out]attrPointer to the results
[in]contextFSAL credentials
[out]statusReturned status
Return values:
CACHE_INODE_SUCCESSif operation is a success

Definition at line 76 of file cache_inode_getattr.c.