Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 142161 Details for
Bug 208059
sys-fs/cowloop-3.0-r2 doesn't compile with 2.6.23+ kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to honor void unregister_blkdev
cowloop-3.0-kern-2.6.23.patch (text/plain), 541 bytes, created by
Jouni Kosonen
on 2008-01-29 22:23:23 UTC
(
hide
)
Description:
Patch to honor void unregister_blkdev
Filename:
MIME Type:
Creator:
Jouni Kosonen
Created:
2008-01-29 22:23:23 UTC
Size:
541 bytes
patch
obsolete
>--- cowloop-3.0/src/cowloop.c.orig 2006-12-22 18:31:13.000000000 +1100 >+++ cowloop-3.0/src/cowloop.c 2008-01-30 00:03:55.000000000 +0200 >@@ -2816,9 +2816,13 @@ > for (minor=0; minor < maxcows; minor++) > (void) cowlo_closepair(cowdevall[minor]); > >+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) > if (unregister_blkdev(COWMAJOR, DEVICE_NAME) != 0) > printk(KERN_WARNING "cowloop - cannot unregister blkdev\n"); >+#else >+ unregister_blkdev(COWMAJOR, DEVICE_NAME); >+#endif > > /* > ** get rid of /proc/cow and unregister the driver > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208059
: 142161 |
142162