mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
NFS: remove nfs_inode radix tree
The radix tree is only being used to compile lists of reqs needing commit. It is simpler to just put the reqs directly into a list. Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
9994b62b56
commit
d6d6dc7cdf
9 changed files with 208 additions and 194 deletions
|
@ -1560,7 +1560,7 @@ static void init_once(void *foo)
|
|||
INIT_LIST_HEAD(&nfsi->open_files);
|
||||
INIT_LIST_HEAD(&nfsi->access_cache_entry_lru);
|
||||
INIT_LIST_HEAD(&nfsi->access_cache_inode_lru);
|
||||
INIT_RADIX_TREE(&nfsi->nfs_page_tree, GFP_ATOMIC);
|
||||
INIT_LIST_HEAD(&nfsi->commit_list);
|
||||
nfsi->npages = 0;
|
||||
nfsi->ncommit = 0;
|
||||
atomic_set(&nfsi->silly_count, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue