aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pagelist.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-06-05 10:42:27 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-10 23:40:23 -0400
commit88be9f990fe70f0f177ef44a16a477599e91f825 (patch)
treed48ed0c934fc20dc3f7cacfc3b1eca3058246b65 /fs/nfs/pagelist.c
parentde05a0cc2a2ae16eb8d8dbf88fe728ace45beb9a (diff)
NFS: Replace vfsmount and dentry in nfs_open_context with struct path
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r--fs/nfs/pagelist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c
index c5bb51a29e80..f8a4ba533930 100644
--- a/fs/nfs/pagelist.c
+++ b/fs/nfs/pagelist.c
@@ -114,7 +114,7 @@ void nfs_unlock_request(struct nfs_page *req)
114 */ 114 */
115int nfs_set_page_writeback_locked(struct nfs_page *req) 115int nfs_set_page_writeback_locked(struct nfs_page *req)
116{ 116{
117 struct nfs_inode *nfsi = NFS_I(req->wb_context->dentry->d_inode); 117 struct nfs_inode *nfsi = NFS_I(req->wb_context->path.dentry->d_inode);
118 118
119 if (!nfs_lock_request(req)) 119 if (!nfs_lock_request(req))
120 return 0; 120 return 0;
@@ -127,7 +127,7 @@ int nfs_set_page_writeback_locked(struct nfs_page *req)
127 */ 127 */
128void nfs_clear_page_writeback(struct nfs_page *req) 128void nfs_clear_page_writeback(struct nfs_page *req)
129{ 129{
130 struct nfs_inode *nfsi = NFS_I(req->wb_context->dentry->d_inode); 130 struct nfs_inode *nfsi = NFS_I(req->wb_context->path.dentry->d_inode);
131 131
132 if (req->wb_page != NULL) { 132 if (req->wb_page != NULL) {
133 spin_lock(&nfsi->req_lock); 133 spin_lock(&nfsi->req_lock);
@@ -193,7 +193,7 @@ static int nfs_wait_bit_interruptible(void *word)
193int 193int
194nfs_wait_on_request(struct nfs_page *req) 194nfs_wait_on_request(struct nfs_page *req)
195{ 195{
196 struct rpc_clnt *clnt = NFS_CLIENT(req->wb_context->dentry->d_inode); 196 struct rpc_clnt *clnt = NFS_CLIENT(req->wb_context->path.dentry->d_inode);
197 sigset_t oldmask; 197 sigset_t oldmask;
198 int ret = 0; 198 int ret = 0;
199 199