diff options
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r-- | fs/nfs/read.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index 20a7f952e244..a68679f538fc 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c | |||
@@ -144,7 +144,7 @@ int nfs_readpage_async(struct nfs_open_context *ctx, struct inode *inode, | |||
144 | 144 | ||
145 | static void nfs_readpage_release(struct nfs_page *req) | 145 | static void nfs_readpage_release(struct nfs_page *req) |
146 | { | 146 | { |
147 | struct inode *d_inode = req->wb_context->path.dentry->d_inode; | 147 | struct inode *d_inode = req->wb_context->dentry->d_inode; |
148 | 148 | ||
149 | if (PageUptodate(req->wb_page)) | 149 | if (PageUptodate(req->wb_page)) |
150 | nfs_readpage_to_fscache(d_inode, req->wb_page, 0); | 150 | nfs_readpage_to_fscache(d_inode, req->wb_page, 0); |
@@ -152,8 +152,8 @@ static void nfs_readpage_release(struct nfs_page *req) | |||
152 | unlock_page(req->wb_page); | 152 | unlock_page(req->wb_page); |
153 | 153 | ||
154 | dprintk("NFS: read done (%s/%Ld %d@%Ld)\n", | 154 | dprintk("NFS: read done (%s/%Ld %d@%Ld)\n", |
155 | req->wb_context->path.dentry->d_inode->i_sb->s_id, | 155 | req->wb_context->dentry->d_inode->i_sb->s_id, |
156 | (long long)NFS_FILEID(req->wb_context->path.dentry->d_inode), | 156 | (long long)NFS_FILEID(req->wb_context->dentry->d_inode), |
157 | req->wb_bytes, | 157 | req->wb_bytes, |
158 | (long long)req_offset(req)); | 158 | (long long)req_offset(req)); |
159 | nfs_release_request(req); | 159 | nfs_release_request(req); |
@@ -207,7 +207,7 @@ static int nfs_read_rpcsetup(struct nfs_page *req, struct nfs_read_data *data, | |||
207 | unsigned int count, unsigned int offset, | 207 | unsigned int count, unsigned int offset, |
208 | struct pnfs_layout_segment *lseg) | 208 | struct pnfs_layout_segment *lseg) |
209 | { | 209 | { |
210 | struct inode *inode = req->wb_context->path.dentry->d_inode; | 210 | struct inode *inode = req->wb_context->dentry->d_inode; |
211 | 211 | ||
212 | data->req = req; | 212 | data->req = req; |
213 | data->inode = inode; | 213 | data->inode = inode; |