diff options
author | Fred Isaman | 2012-03-08 23:29:35 +0100 |
---|---|---|
committer | Trond Myklebust | 2012-03-10 23:14:10 +0100 |
commit | d6d6dc7cdfda7c8f49a89a7b7261846f319da6d1 (patch) | |
tree | fd26cf912b676f2752c16ccce1f410872a2a485c /fs/nfs/inode.c | |
parent | NFS: remove NFS_PAGE_TAG_LOCKED (diff) | |
download | kernel-qcow2-linux-d6d6dc7cdfda7c8f49a89a7b7261846f319da6d1.tar.gz kernel-qcow2-linux-d6d6dc7cdfda7c8f49a89a7b7261846f319da6d1.tar.xz kernel-qcow2-linux-d6d6dc7cdfda7c8f49a89a7b7261846f319da6d1.zip |
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>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 70e25c9c5670..1a19f8d30c14 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -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); |