Hi

The attached patch allows to build DazukoFS with latest Ubuntu LTS.

To get a working KDE 3 one also needs at least Patch 6 (mmap fix) from Lino Sanfilippo posted to the list earlier this month.

It took me almost a week to figure out, why the parsing of KDE 3 Mime-Types during login had stopped to work...

I hope there'll soon be a new release including some of the patches.

ATB

Jan-Marek
diff -urN dazukofs-3.1.2/dentry.c dazukofs-3.1.3/dentry.c
--- dazukofs-3.1.2/dentry.c	2009-06-28 22:16:38.000000000 +0200
+++ dazukofs-3.1.3/dentry.c	2010-05-30 12:58:04.000000000 +0200
@@ -94,7 +94,7 @@
 	/* update the inode, even if d_revalidate() != 1 */
 	if (dentry->d_inode) {
 		struct inode *lower_inode = get_lower_inode(dentry->d_inode);
-		fsstack_copy_attr_all(dentry->d_inode, lower_inode);
+		fsstack_copy_attr_all(dentry->d_inode, lower_inode, NULL);
 	}
 	return valid;
 }
diff -urN dazukofs-3.1.2/inode.c dazukofs-3.1.3/inode.c
--- dazukofs-3.1.2/inode.c	2009-06-28 22:17:09.000000000 +0200
+++ dazukofs-3.1.3/inode.c	2010-05-30 12:57:50.000000000 +0200
@@ -130,7 +130,7 @@
 	else
 		d_instantiate(dentry, inode);
 
-	fsstack_copy_attr_all(inode, lower_inode);
+	fsstack_copy_attr_all(inode, lower_inode, NULL);
 	fsstack_copy_inode_size(inode, lower_inode);
 	return 0;
 }
@@ -517,7 +517,7 @@
 	err = notify_change(lower_dentry, ia);
 	mutex_unlock(&lower_inode->i_mutex);
 
-	fsstack_copy_attr_all(inode, lower_inode);
+	fsstack_copy_attr_all(inode, lower_inode, NULL);
 	fsstack_copy_inode_size(inode, lower_inode);
 	return err;
 }
@@ -550,7 +550,7 @@
 						 size, flags);
 	mutex_unlock(&lower_dentry_inode->i_mutex);
 
-	fsstack_copy_attr_all(dentry->d_inode, lower_dentry_inode);
+	fsstack_copy_attr_all(dentry->d_inode, lower_dentry_inode, NULL);
 	fsstack_copy_inode_size(dentry->d_inode, lower_dentry_inode);
 out:
 	return err;
@@ -767,9 +767,10 @@
 	if (err)
 		goto out;
 
-	fsstack_copy_attr_all(new_dir, lower_new_dentry_parent_inode);
+	fsstack_copy_attr_all(new_dir, lower_new_dentry_parent_inode, NULL);
 	if (new_dir != old_dir)
-		fsstack_copy_attr_all(old_dir, lower_old_dentry_parent_inode);
+		fsstack_copy_attr_all(old_dir, lower_old_dentry_parent_inode,
+				      NULL);
 out:
 	dput(lower_old_dentry_parent);
 	dput(lower_new_dentry_parent);
_______________________________________________
Dazuko-devel mailing list
Dazuko-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-devel

Reply via email to