blob: 861730275ba0545feb6857c42f9d161d7f38d47c [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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;
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 struct nlm_lockowner *owner;
Christoph Hellwig26bcbf92006-03-20 13:44:40 -050016 struct list_head list;
Linus Torvalds1da177e2005-04-16 15:20:36 -070017};
18
Trond Myklebust8d0a8a92005-06-22 17:16:32 +000019struct nfs4_lock_state;
20struct nfs4_lock_info {
21 struct nfs4_lock_state *owner;
22};
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#endif