nfs-ganesha 1.4
Functions

cache_inode_readlink.c File Reference

Reads a symlink. More...

#include "abstract_atomic.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_inode_status_t cache_inode_readlink (cache_entry_t *entry, fsal_path_t *link_content, fsal_op_context_t *context, cache_inode_status_t *status)
 Read the target of a symlink.

Detailed Description

Reads a symlink.

Author:
Author:
deniel
Date:
Date:
2005/12/05 09:02:36
Version:
Revision:
1.16

cache_inode_readlink.c : Reads a symlink.

Definition in file cache_inode_readlink.c.


Function Documentation

cache_inode_status_t cache_inode_readlink ( cache_entry_t entry,
fsal_path_t link_content,
fsal_op_context_t context,
cache_inode_status_t status 
)

Read the target of a symlink.

Copy the content of a symbolic link into the address pointed to by link_content.

Parameters:
[in]entryThe link to read
[out]link_contentThe location into which to write the target
[in]contextFSAL operation context
[out]statusStatus of the operation
Returns:
CACHE_INODE_SUCCESS on success, other things on failure.

Definition at line 75 of file cache_inode_readlink.c.