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>
This commit is contained in:
Trond Myklebust
2007-07-02 09:57:54 -04:00
parent 4e56e082dd
commit 587142f85f
4 changed files with 46 additions and 51 deletions

View File

@@ -156,7 +156,6 @@ struct nfs_inode {
/*
* This is the list of dirty unwritten pages.
*/
spinlock_t req_lock;
struct radix_tree_root nfs_page_tree;
unsigned long ncommit,