diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-08-29 18:33:27 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-08-29 18:33:27 +0000 |
commit | a847c6cc95aa31e72835225e89cb89298a52256d (patch) | |
tree | 76ccab8841bb27bdfd3c86b8e8322d5826908c64 /sys-fs/cloop/files | |
parent | ppc stable, bug #185693 (diff) | |
download | historical-a847c6cc95aa31e72835225e89cb89298a52256d.tar.gz historical-a847c6cc95aa31e72835225e89cb89298a52256d.tar.bz2 historical-a847c6cc95aa31e72835225e89cb89298a52256d.zip |
Fix kernel 2.6.22 thanks to Alexander Skwar <askwar@digitalprojects.com> in bug 189561
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'sys-fs/cloop/files')
-rw-r--r-- | sys-fs/cloop/files/cloop-2.05-kernel_2.6.22.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/cloop/files/cloop-2.05-kernel_2.6.22.patch b/sys-fs/cloop/files/cloop-2.05-kernel_2.6.22.patch new file mode 100644 index 000000000000..8b790e911043 --- /dev/null +++ b/sys-fs/cloop/files/cloop-2.05-kernel_2.6.22.patch @@ -0,0 +1,12 @@ +diff -ur cloop-2.05~20060829.original/compressed_loop.c cloop-2.05~20060829/compressed_loop.c +--- cloop-2.05~20060829.original/compressed_loop.c 2006-12-04 00:07:02.000000000 +0100 ++++ cloop-2.05~20060829/compressed_loop.c 2007-08-20 09:20:20.289119997 +0200 +@@ -625,7 +625,7 @@ + if(clo->compressed_buffer) { vfree(clo->compressed_buffer); clo->compressed_buffer = NULL; } + zlib_inflateEnd(&clo->zstream); + if(clo->zstream.workspace) { vfree(clo->zstream.workspace); clo->zstream.workspace = NULL; } +- invalidate_bdev(bdev, 0); ++ invalidate_bdev(bdev); + set_capacity(clo->disk, 0); + return 0; + } |