| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |  | 
 | 8 | struct nlm_lockowner; | 
 | 9 |  | 
 | 10 | /* | 
 | 11 |  * NFS lock info | 
 | 12 |  */ | 
 | 13 | struct nfs_lock_info { | 
 | 14 | 	u32		state; | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | 	struct nlm_lockowner *owner; | 
| Christoph Hellwig | 26bcbf9 | 2006-03-20 13:44:40 -0500 | [diff] [blame] | 16 | 	struct list_head list; | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | }; | 
 | 18 |  | 
| Trond Myklebust | 8d0a8a9 | 2005-06-22 17:16:32 +0000 | [diff] [blame] | 19 | struct nfs4_lock_state; | 
 | 20 | struct nfs4_lock_info { | 
 | 21 | 	struct nfs4_lock_state *owner; | 
 | 22 | }; | 
 | 23 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #endif |