Blame view
fs/9p/fid.h
1.09 KB
3ed8491c8
|
1 2 3 4 5 6 |
/* * V9FS FID Management * * Copyright (C) 2005 by Eric Van Hensbergen <ericvh@gmail.com> * * This program is free software; you can redistribute it and/or modify |
42e8c509c
|
7 8 |
* it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. |
3ed8491c8
|
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to: * Free Software Foundation * 51 Franklin Street, Fifth Floor * Boston, MA 02111-1301 USA * */ #include <linux/list.h> |
bd238fb43
|
24 25 26 |
struct v9fs_dentry { spinlock_t lock; /* protect fidlist */ struct list_head fidlist; |
3ed8491c8
|
27 |
}; |
bd238fb43
|
28 29 30 31 |
struct p9_fid *v9fs_fid_lookup(struct dentry *dentry); struct p9_fid *v9fs_fid_lookup_remove(struct dentry *dentry); struct p9_fid *v9fs_fid_clone(struct dentry *dentry); int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid); |