[PATCH] spinlock consolidation
[deliverable/linux.git] / include / linux / nfs_fs_i.h
CommitLineData
1da177e4
LT
1#ifndef _NFS_FS_I
2#define _NFS_FS_I
3
4#include <asm/types.h>
5#include <linux/list.h>
6#include <linux/nfs.h>
7
8struct nlm_lockowner;
9
10/*
11 * NFS lock info
12 */
13struct nfs_lock_info {
14 u32 state;
15 u32 flags;
16 struct nlm_lockowner *owner;
17};
18
8d0a8a9d
TM
19struct nfs4_lock_state;
20struct nfs4_lock_info {
21 struct nfs4_lock_state *owner;
22};
23
1da177e4
LT
24/*
25 * Lock flag values
26 */
27#define NFS_LCK_GRANTED 0x0001 /* lock has been granted */
28#define NFS_LCK_RECLAIM 0x0002 /* lock marked for reclaiming */
29
30#endif
This page took 0.096466 seconds and 5 git commands to generate.