rpms/kernel/devel linux-2.6-squashfs.patch,1.17,1.18

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Dec 19 11:20:12 UTC 2006


Author: dwmw2

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15646

Modified Files:
	linux-2.6-squashfs.patch 
Log Message:
Fix squashfs

linux-2.6-squashfs.patch:
 linux-2.6.19.noarch/fs/Kconfig        |   65 
 linux-2.6.19.noarch/fs/Makefile       |    1 
 linux-2.6.19.ppc/fs/squashfs/Makefile |    3 
 squash/fs/squashfs/inode.c            | 2299 ++++++++++++++++++++++++++++++++++
 squash/fs/squashfs/squashfs.h         |   87 +
 squash/fs/squashfs/squashfs2_0.c      |  757 +++++++++++
 squash/include/linux/squashfs_fs.h    |  934 +++++++++++++
 squash/include/linux/squashfs_fs_i.h  |   45 
 squash/include/linux/squashfs_fs_sb.h |   76 +
 9 files changed, 4267 insertions(+)

Index: linux-2.6-squashfs.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-squashfs.patch,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- linux-2.6-squashfs.patch	19 Dec 2006 00:32:09 -0000	1.17
+++ linux-2.6-squashfs.patch	19 Dec 2006 11:20:09 -0000	1.18
@@ -2249,13 +2249,13 @@
 +}
 +
 +
-+static kmem_cache_t * squashfs_inode_cachep;
++static struct kmem_cache *squashfs_inode_cachep;
 +
 +
 +static struct inode *squashfs_alloc_inode(struct super_block *sb)
 +{
 +	struct squashfs_inode_info *ei;
-+	ei = kmem_cache_alloc(squashfs_inode_cachep, SLAB_KERNEL);
++	ei = kmem_cache_alloc(squashfs_inode_cachep, GFP_KERNEL);
 +	if (!ei)
 +		return NULL;
 +	return &ei->vfs_inode;
@@ -2268,7 +2268,7 @@
 +}
 +
 +
-+static void init_once(void * foo, kmem_cache_t * cachep, unsigned long flags)
++static void init_once(void * foo, struct kmem_cache *cachep, unsigned long flags)
 +{
 +	struct squashfs_inode_info *ei = foo;
 +
@@ -4304,3 +4304,9 @@
  obj-$(CONFIG_RAMFS)		+= ramfs/
  obj-$(CONFIG_HUGETLBFS)		+= hugetlbfs/
  obj-$(CONFIG_CODA_FS)		+= coda/
+--- /dev/null	2006-12-18 15:12:55.143924919 +0000
++++ linux-2.6.19.ppc/fs/squashfs/Makefile	2006-12-19 11:15:13.000000000 +0000
+@@ -0,0 +1,3 @@
++obj-$(CONFIG_SQUASHFS) += squashfs.o
++
++squashfs-objs := inode.o squashfs2_0.o




More information about the fedora-cvs-commits mailing list