| Summary: | Cowloop fails to compile under 2.6.28 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jérôme Poulin <jeromepoulin> |
| Component: | New packages | Assignee: | Daniel Black (RETIRED) <dragonheart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.atcomputing.nl/Tools/cowloop/home.html | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
cowloop-3.0-2.6.28.patch
cowloop-3.0-r4.ebuild |
||
|
Description
Jérôme Poulin
2009-02-02 06:42:20 UTC
Created attachment 180659 [details, diff]
cowloop-3.0-2.6.28.patch
Makes cowloop compiles under 2.6.28 after all the other patches.
Created attachment 180660 [details]
cowloop-3.0-r4.ebuild
This is the updated ebuild to include the patch plus changed arch to ~x86.
I assume you've tested the functionality and it work ok? Thanks for the patch - rarely see ones like this. I'll add it soon. I tested creating a cowdev, writing to it, deleting cowdev, examining the content of the cowfile, merging the cowfile, remounting it, everything is okay in the file. Then I tried rmmod'ing the module, seems like everything cleaned up correctly. What is not tested is compatibility with 2.6.27 and 2.6.26, I guess there are probably 1 or 2 #IFs to add, but it may also work out-of-the-box. all changes were 2.6.28 and not backwards compatible. http://www.linuxhq.com/kernel/v2.6/28/fs/block_dev.c I've done the #if magic and its hopefully right. I'll submit it upstream with credits to you. thanks |