NFS: Oops in 2.1.117

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 20 Aug 98 22:14 BST


Can folks seeing an oops in 2.1.117 try the following small change (I've
not even compiled this but if it doesnt build the logic is obvious - right ;))

--- linux/fs/nfs/write.c.orig Thu Aug 20 21:18:35 1998
+++ linux/fs/nfs/write.c Thu Aug 20 21:19:18 1998
@@ -469,8 +469,9 @@
struct page *page = req->wb_page;
int retval;
sigset_t oldmask;
+ struct rpc_clnt *clnt = NFS_CLIENT(req->wb_inode);

- rpc_clnt_sigmask(NFS_CLIENT(req->wb_inode), &oldmask);
+ rpc_clnt_sigmask(clnt, &oldmask);
add_wait_queue(&page->wait, &wait);
atomic_inc(&page->count);
for (;;) {
@@ -488,7 +489,7 @@
current->state = TASK_RUNNING;
/* N.B. page may have been unused, so we must use free_page() */
free_page(page_address(page));
- rpc_clnt_sigunmask(NFS_CLIENT(req->wb_inode), &oldmask);
+ rpc_clnt_sigunmask(clnt, &oldmask);
return retval;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html