Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
fid.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/idr.h>
#include <net/9p/9p.h>
#include <net/9p/client.h>
#include "v9fs.h"
#include "v9fs_vfs.h"
#include "fid.h"

Go to the source code of this file.

Functions

int v9fs_fid_add (struct dentry *dentry, struct p9_fid *fid)
 
struct p9_fidv9fs_fid_lookup (struct dentry *dentry)
 
struct p9_fidv9fs_fid_clone (struct dentry *dentry)
 
struct p9_fidv9fs_writeback_fid (struct dentry *dentry)
 

Function Documentation

int v9fs_fid_add ( struct dentry dentry,
struct p9_fid fid 
)

v9fs_fid_add - add a fid to a dentry : dentry that the fid is being added to : fid to add

Definition at line 44 of file fid.c.

struct p9_fid* v9fs_fid_clone ( struct dentry dentry)
read

Definition at line 263 of file fid.c.

struct p9_fid* v9fs_fid_lookup ( struct dentry dentry)
read

v9fs_fid_lookup - lookup for a fid, try to walk if not found : dentry to look for fid in

Look for a fid in the specified dentry for the current user. If no fid is found, try to create one walking from a fid from the parent dentry (if it has one), or the root dentry. If the user haven't accessed the fs yet, attach now and walk from the root.

Definition at line 234 of file fid.c.

struct p9_fid* v9fs_writeback_fid ( struct dentry dentry)
read

Definition at line 287 of file fid.c.