diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nfs_fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index f6b1956f3c86..fc01d5cb4cf1 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
| @@ -59,11 +59,18 @@ struct nfs_lockowner { | |||
| 59 | pid_t l_pid; | 59 | pid_t l_pid; |
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| 62 | #define NFS_IO_INPROGRESS 0 | ||
| 63 | struct nfs_io_counter { | ||
| 64 | unsigned long flags; | ||
| 65 | atomic_t io_count; | ||
| 66 | }; | ||
| 67 | |||
| 62 | struct nfs_lock_context { | 68 | struct nfs_lock_context { |
| 63 | atomic_t count; | 69 | atomic_t count; |
| 64 | struct list_head list; | 70 | struct list_head list; |
| 65 | struct nfs_open_context *open_context; | 71 | struct nfs_open_context *open_context; |
| 66 | struct nfs_lockowner lockowner; | 72 | struct nfs_lockowner lockowner; |
| 73 | struct nfs_io_counter io_count; | ||
| 67 | }; | 74 | }; |
| 68 | 75 | ||
| 69 | struct nfs4_state; | 76 | struct nfs4_state; |
