diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-17 15:40:59 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:26 -0400 |
commit | 2aefa104313996d1a9582476cee53d1296c834bf (patch) | |
tree | 858c9af6784949b714e728be52ffde7fba842811 /fs/nfs/inode.c | |
parent | 5c36968343fcd013a3f7ae93f246c2e75596780b (diff) |
NFS: Remove the redundant 'dirty' and 'commit' lists from nfs_inode
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 7bcb3dfa6179..e7d2bba900b5 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -1149,14 +1149,11 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag | |||
1149 | 1149 | ||
1150 | inode_init_once(&nfsi->vfs_inode); | 1150 | inode_init_once(&nfsi->vfs_inode); |
1151 | spin_lock_init(&nfsi->req_lock); | 1151 | spin_lock_init(&nfsi->req_lock); |
1152 | INIT_LIST_HEAD(&nfsi->dirty); | ||
1153 | INIT_LIST_HEAD(&nfsi->commit); | ||
1154 | INIT_LIST_HEAD(&nfsi->open_files); | 1152 | INIT_LIST_HEAD(&nfsi->open_files); |
1155 | INIT_LIST_HEAD(&nfsi->access_cache_entry_lru); | 1153 | INIT_LIST_HEAD(&nfsi->access_cache_entry_lru); |
1156 | INIT_LIST_HEAD(&nfsi->access_cache_inode_lru); | 1154 | INIT_LIST_HEAD(&nfsi->access_cache_inode_lru); |
1157 | INIT_RADIX_TREE(&nfsi->nfs_page_tree, GFP_ATOMIC); | 1155 | INIT_RADIX_TREE(&nfsi->nfs_page_tree, GFP_ATOMIC); |
1158 | atomic_set(&nfsi->data_updates, 0); | 1156 | atomic_set(&nfsi->data_updates, 0); |
1159 | nfsi->ndirty = 0; | ||
1160 | nfsi->ncommit = 0; | 1157 | nfsi->ncommit = 0; |
1161 | nfsi->npages = 0; | 1158 | nfsi->npages = 0; |
1162 | nfs4_init_once(nfsi); | 1159 | nfs4_init_once(nfsi); |