diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 13:16:32 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:42 -0400 |
commit | 8d0a8a9d0ec790086c64d210af413ac351d89e35 (patch) | |
tree | 003a1481e4a8d8487956a6bf04db80dd93264b8b /include/linux/nfs_fs_i.h | |
parent | ecdbf769b2cb8903e07cd482334c714d89fd1146 (diff) |
[PATCH] NFSv4: Clean up nfs4 lock state accounting
Ensure that lock owner structures are not released prematurely.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_i.h')
-rw-r--r-- | include/linux/nfs_fs_i.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_i.h b/include/linux/nfs_fs_i.h index e9a749588a7b..e2c18dabff86 100644 --- a/include/linux/nfs_fs_i.h +++ b/include/linux/nfs_fs_i.h | |||
@@ -16,6 +16,11 @@ struct nfs_lock_info { | |||
16 | struct nlm_lockowner *owner; | 16 | struct nlm_lockowner *owner; |
17 | }; | 17 | }; |
18 | 18 | ||
19 | struct nfs4_lock_state; | ||
20 | struct nfs4_lock_info { | ||
21 | struct nfs4_lock_state *owner; | ||
22 | }; | ||
23 | |||
19 | /* | 24 | /* |
20 | * Lock flag values | 25 | * Lock flag values |
21 | */ | 26 | */ |