diff options
Diffstat (limited to 'fs/nfs/direct.c')
-rw-r--r-- | fs/nfs/direct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 7077521acdf4..e907c8cf732e 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c | |||
@@ -283,7 +283,7 @@ static void nfs_direct_release_pages(struct page **pages, unsigned int npages) | |||
283 | void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo, | 283 | void nfs_init_cinfo_from_dreq(struct nfs_commit_info *cinfo, |
284 | struct nfs_direct_req *dreq) | 284 | struct nfs_direct_req *dreq) |
285 | { | 285 | { |
286 | cinfo->lock = &dreq->lock; | 286 | cinfo->lock = &dreq->inode->i_lock; |
287 | cinfo->mds = &dreq->mds_cinfo; | 287 | cinfo->mds = &dreq->mds_cinfo; |
288 | cinfo->ds = &dreq->ds_cinfo; | 288 | cinfo->ds = &dreq->ds_cinfo; |
289 | cinfo->dreq = dreq; | 289 | cinfo->dreq = dreq; |