diff options
author | 2007-11-09 07:55:52 +0000 | |
---|---|---|
committer | 2007-11-09 07:55:52 +0000 | |
commit | 9292edf169b124611b1e9926fedd16092a985184 (patch) | |
tree | 941fe0db6080f2cf9dfbf5ea450c12b232f47369 /sys-fs/cloop/files/cloop-2.05-kernel_2.6.23.patch | |
parent | Fixed bug 198522 (file collision with genkernel) (diff) | |
download | gentoo-2-9292edf169b124611b1e9926fedd16092a985184.tar.gz gentoo-2-9292edf169b124611b1e9926fedd16092a985184.tar.bz2 gentoo-2-9292edf169b124611b1e9926fedd16092a985184.zip |
2.6.23 compatibility thanks to René Rhéaume (a.k.a. repzilon, rener) <rene.rheaume@videotron.qc.ca> and Alexander Skwar <askwar@digitalprojects.com> in bug 196566
(Portage version: 2.1.3.18)
Diffstat (limited to 'sys-fs/cloop/files/cloop-2.05-kernel_2.6.23.patch')
-rw-r--r-- | sys-fs/cloop/files/cloop-2.05-kernel_2.6.23.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-fs/cloop/files/cloop-2.05-kernel_2.6.23.patch b/sys-fs/cloop/files/cloop-2.05-kernel_2.6.23.patch new file mode 100644 index 000000000000..0ba8b3682f68 --- /dev/null +++ b/sys-fs/cloop/files/cloop-2.05-kernel_2.6.23.patch @@ -0,0 +1,13 @@ +diff -Nurp cloop-2.05~20060829/compressed_loop.c cloop-2.05~20060829.k2623/compressed_loop.c +--- cloop-2.05~20060829/compressed_loop.c 2007-10-20 20:37:01.773345677 -0400 ++++ cloop-2.05~20060829.k2623/compressed_loop.c 2007-10-20 21:32:56.817703680 -0400 +@@ -814,8 +814,7 @@ static void __exit cloop_exit(void) + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) + devfs_remove(cloop_name); + #endif +- if(unregister_cloop_blkdev() != 0) +- printk(KERN_WARNING "%s: cannot unregister block device\n", cloop_name); ++ unregister_cloop_blkdev(); + for(i=0;i<max_cloop;i++) + { + del_gendisk(cloop_dev[i].disk); |