diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2005-06-22 13:16:23 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:15 -0400 |
commit | e50a1c2e1f816c81eed6a589019052cb44189267 (patch) | |
tree | e59dd290e136bd0eb5fc56d325bf34f5ca1efdfb /include | |
parent | 4b580ee3dc00f9828a9a7aad2724f448fdc94075 (diff) |
[PATCH] NFSv4: client-side caching NFSv4 ACLs
Add nfs4_acl field to the nfs_inode, and use it to cache acls. Only cache
acls of size up to a page. Also prepare for up to a page of acl data even
when the user doesn't pass in a buffer, as when they want to get the acl
length to decide what size buffer to allocate.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 140bdf489f71..d2b5d7e0e85a 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -169,13 +169,13 @@ struct nfs_inode { | |||
169 | wait_queue_head_t nfs_i_wait; | 169 | wait_queue_head_t nfs_i_wait; |
170 | 170 | ||
171 | #ifdef CONFIG_NFS_V4 | 171 | #ifdef CONFIG_NFS_V4 |
172 | struct nfs4_cached_acl *nfs4_acl; | ||
172 | /* NFSv4 state */ | 173 | /* NFSv4 state */ |
173 | struct list_head open_states; | 174 | struct list_head open_states; |
174 | struct nfs_delegation *delegation; | 175 | struct nfs_delegation *delegation; |
175 | int delegation_state; | 176 | int delegation_state; |
176 | struct rw_semaphore rwsem; | 177 | struct rw_semaphore rwsem; |
177 | #endif /* CONFIG_NFS_V4*/ | 178 | #endif /* CONFIG_NFS_V4*/ |
178 | |||
179 | struct inode vfs_inode; | 179 | struct inode vfs_inode; |
180 | }; | 180 | }; |
181 | 181 | ||