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