nfs-ganesha 1.4
Functions

cache_inode_make_root.c File Reference

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_tcache_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.

Detailed Description

Insert in the cache an entry that is the root of the FS cached.

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

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.


Function Documentation

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.

Parameters:
[in]fsdataHandle for the root
[in]contextFSAL credentials. Unused here
[out]statusReturned status
Returns:
the newly created cache entry.

Definition at line 72 of file cache_inode_make_root.c.