Linux Kernel
3.7.1
|
#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_fid * | v9fs_fid_lookup (struct dentry *dentry) |
struct p9_fid * | v9fs_fid_clone (struct dentry *dentry) |
struct p9_fid * | v9fs_writeback_fid (struct dentry *dentry) |
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.