public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chris@wirex.com>
To: Per-Olof Pettersson <peope@peope.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: compiling 2.4.14 fails in block.o (probably loopback)
Date: Fri, 16 Nov 2001 15:38:07 -0800	[thread overview]
Message-ID: <20011116153806.B32600@figure1.int.wirex.com> (raw)
In-Reply-To: <3BF59D71.1020705@peope.net>
In-Reply-To: <3BF59D71.1020705@peope.net>; from peope@peope.net on Sat, Nov 17, 2001 at 12:12:49AM +0100

* Per-Olof Pettersson (peope@peope.net) wrote:
> [1.]
> compiling 2.4.14 fails in block.o (probably loopback)

this is a known problem (it's helpful to search the archives ;-).
to fix, apply the following patch:

cheers,
-chris

--- linux-2.4.14/drivers/block/loop.c	Thu Oct 25 13:58:34 2001
+++ linux-2.4.14-loop/drivers/block/loop.c	Mon Nov  5 17:06:08 2001
@@ -207,7 +207,6 @@
 		index++;
 		pos += size;
 		UnlockPage(page);
-		deactivate_page(page);
 		page_cache_release(page);
 	}
 	return 0;
@@ -218,7 +217,6 @@
 	kunmap(page);
 unlock:
 	UnlockPage(page);
-	deactivate_page(page);
 	page_cache_release(page);
 fail:
 	return -1;

  reply	other threads:[~2001-11-16 23:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-16 23:12 PROBLEM: compiling 2.4.14 fails in block.o (probably loopback) Per-Olof Pettersson
2001-11-16 23:38 ` Chris Wright [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-11-16 23:15 Per-Olof Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011116153806.B32600@figure1.int.wirex.com \
    --to=chris@wirex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peope@peope.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox