diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-02 09:57:54 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:38 -0400 |
commit | 587142f85f796cf0b823dd3080e815f02ff6b952 (patch) | |
tree | 891e9389d09916ff2c307dc5ada1c65303660c8d /fs/nfs/inode.c | |
parent | 4e56e082dd89266d320ccfbc7bd0102186a765ac (diff) |
NFS: Replace NFS_I(inode)->req_lock with inode->i_lock
There is no justification for keeping a special spinlock for the exclusive
use of the NFS writeback code.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 01fc8ab0c562..9d5124166d20 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -1154,7 +1154,6 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag | |||
1154 | struct nfs_inode *nfsi = (struct nfs_inode *) foo; | 1154 | struct nfs_inode *nfsi = (struct nfs_inode *) foo; |
1155 | 1155 | ||
1156 | inode_init_once(&nfsi->vfs_inode); | 1156 | inode_init_once(&nfsi->vfs_inode); |
1157 | spin_lock_init(&nfsi->req_lock); | ||
1158 | INIT_LIST_HEAD(&nfsi->open_files); | 1157 | INIT_LIST_HEAD(&nfsi->open_files); |
1159 | INIT_LIST_HEAD(&nfsi->access_cache_entry_lru); | 1158 | INIT_LIST_HEAD(&nfsi->access_cache_entry_lru); |
1160 | INIT_LIST_HEAD(&nfsi->access_cache_inode_lru); | 1159 | INIT_LIST_HEAD(&nfsi->access_cache_inode_lru); |