rpms/kernel/F-11 squashfs-broken-when-pagesize-greater-than-blocksize.patch, NONE, 1.1 kernel.spec, 1.1541, 1.1542 squashfs-broken-when-pageszie-greater-than-blocksize.patch, 1.1, NONE
Jarod Wilson
jwilson at fedoraproject.org
Tue Apr 14 14:18:28 UTC 2009
- Previous message (by thread): rpms/anacron/devel anacron-2.3-range-rnd.patch, 1.1, 1.2 anacron.spec, 1.63, 1.64
- Next message (by thread): rpms/system-config-network/devel .cvsignore, 1.31, 1.32 sources, 1.34, 1.35 system-config-network.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwilson
Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8977
Modified Files:
kernel.spec
Added Files:
squashfs-broken-when-pagesize-greater-than-blocksize.patch
Removed Files:
squashfs-broken-when-pageszie-greater-than-blocksize.patch
Log Message:
fix incredibly important spelling error
squashfs-broken-when-pagesize-greater-than-blocksize.patch:
--- NEW FILE squashfs-broken-when-pagesize-greater-than-blocksize.patch ---
From: Doug Chapman <doug.chapman at hp.com>
To: fedora-kernel-list at redhat.com
Subject: [PATCH] squashfs broken when pageszie > blocksize
Not sure if we are too late for F11 on this or not but this patch
is needed to be able to mount squashfs (as used by anaconda) on
ia64. Our goal is to be able to build Fedora on ia64 with no
custom SRPMs so it would be appreciated if this could be pulled
in.
--------------------
Squashfs is broken on any system where the pageszie is larger than either
the block size of the squashfs image or larger than the metadata size (8192).
This is easily fixed by ensuring cache->pages is always > 0.
Signed-off-by: Doug Chapman <doug.chapman at hp.com>
Cc: Phillip Lougher <phillip at lougher.demon.co.uk>
---
diff --git a/fs/squashfs/cache.c b/fs/squashfs/cache.c
index 1c4739e..40c98fa 100644
--- a/fs/squashfs/cache.c
+++ b/fs/squashfs/cache.c
@@ -252,6 +252,7 @@ struct squashfs_cache *squashfs_cache_init(char *name, int entries,
cache->entries = entries;
cache->block_size = block_size;
cache->pages = block_size >> PAGE_CACHE_SHIFT;
+ cache->pages = cache->pages ? cache->pages : 1;
cache->name = name;
cache->num_waiters = 0;
spin_lock_init(&cache->lock);
_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/kernel.spec,v
retrieving revision 1.1541
retrieving revision 1.1542
diff -u -r1.1541 -r1.1542
--- kernel.spec 14 Apr 2009 14:13:40 -0000 1.1541
+++ kernel.spec 14 Apr 2009 14:18:25 -0000 1.1542
@@ -722,7 +722,7 @@
# fix oops in md raid1 (#495550)
Patch6000: linux-2.6-md-raid1-dont-assume-new-bvecs-are-init.patch
# fix squashfs on systems where pagesize > blocksize (ia64, ppc64 w/64k pages)
-Patch6010: squashfs-broken-when-pageszie-greater-than-blocksize.patch
+Patch6010: squashfs-broken-when-pagesize-greater-than-blocksize.patch
# fix duplicated flags value
Patch7000: linux-2.6-mm-define-unique-value-for-as_unevictable.patch
# fix posix clock monotonicity
@@ -1352,7 +1352,7 @@
# patches headed for -stable
ApplyPatch linux-2.6-md-raid1-dont-assume-new-bvecs-are-init.patch
-ApplyPatch squashfs-broken-when-pageszie-greater-than-blocksize.patch
+ApplyPatch squashfs-broken-when-pagesize-greater-than-blocksize.patch
ApplyPatch linux-2.6-mm-define-unique-value-for-as_unevictable.patch
ApplyPatch linux-2.6-posix-timers-fix-clock-monotonicity.patch
ApplyPatch linux-2.6-posix-timers-fix-rlimit_cpu-fork.patch
--- squashfs-broken-when-pageszie-greater-than-blocksize.patch DELETED ---
- Previous message (by thread): rpms/anacron/devel anacron-2.3-range-rnd.patch, 1.1, 1.2 anacron.spec, 1.63, 1.64
- Next message (by thread): rpms/system-config-network/devel .cvsignore, 1.31, 1.32 sources, 1.34, 1.35 system-config-network.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list