nfs-ganesha 1.4
|
Insert in the cache an entry that is the root of the FS cached. More...
#include "LRU_List.h"
#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_entry_t * | cache_inode_make_root (cache_inode_fsal_data_t *fsdata, fsal_op_context_t *context, cache_inode_status_t *status) |
Inserts the root of a FS in the cache. |
Insert in the cache an entry that is the root of the FS cached.
cache_inode_make_root.c : Inserts in the cache an entry that is the root of the FS cached.
Definition in file cache_inode_make_root.c.
cache_entry_t* cache_inode_make_root | ( | cache_inode_fsal_data_t * | fsdata, |
fsal_op_context_t * | context, | ||
cache_inode_status_t * | status | ||
) |
Inserts the root of a FS in the cache.
This ensures that the directory specified by fsdata is in the cache and marks it as an export root.
[in] | fsdata | Handle for the root |
[in] | context | FSAL credentials. Unused here |
[out] | status | Returned status |
Definition at line 72 of file cache_inode_make_root.c.