Re: Cloop and 2.6.27 kernel
Hi,
On Sat, Oct 25, 2008 at 12:31:26PM +0300, Tapani Räikkönen wrote:
> stirner kirjoitti:
> >Tapani Räikkönen-3 wrote:
> >
> >>Cloop-2.625 worked with 2.6.26 kernel but not with 2.6.27 kernel:
> >>
> >>make[4]: Siirrytään hakemistoon "/usr/src/linux-2.6.27"
> >> CC [M] /usr/src/modules/cloop-2.625/compressed_loop.o
> >>/usr/src/modules/cloop-2.625/compressed_loop.c:49:27: error:
> >>asm/semaphore.h: Tiedostoa tai hakemistoa ei ole
> >>
> >>I think the problem is that semaphore.h is deprecated in the kernel
> >>2.6.27.
> >>I tried to "borrow" semaphore.h from kernel 2.6.26 and everythink is ok.
Actually, just delete the #include <asm/semaphore.h> line. We don't use
semaphores for locking anymore anyways, it's a leftover from previous
versions that did.
Did anyone test with a 2.6.28-pre yet? I'm a little woried about that
announcement about a changed block layer API - again. :-/
Regards
-Klaus Knopper
Reply to: