Erik Miller | 26 Apr 2012 01:42
Picon

dazuko for linux 3.x?

This project has been stagnant for a while. I wanted to see how hard
it would be to get it running with a 3.0 or 3.2 linux kernel.  I'm not
a strong programmer, but I started converting it over today. With any
luck maybe we can get it working again.

it compiles okay, but it doesn't appear to do anything. I think the
problem might be in the dazukofs_d_compare function in the dentry.c
file, ~= line 159, which was not converted over correctly.

Anyone have any ideas?

[CODE]
diff -r -u a/dazukofs-3.1.4/dentry.c b/dazukofs-3.1.4/dentry.c
--- a/dazukofs-3.1.4/dentry.c	2010-05-30 06:58:04.000000000 -0400
+++ b/dazukofs-3.1.4/dentry.c	2012-04-25 16:32:41.777027772 -0400
 <at>  <at>  -116,10 +116,11  <at>  <at> 
 {
 	struct dentry *lower_dentry = get_lower_dentry(dentry);

+	struct inode *lower_inode = get_lower_inode(dentry);
 	if (!lower_dentry->d_op || !lower_dentry->d_op->d_hash)
 		return 0;

-	return lower_dentry->d_op->d_hash(lower_dentry, name);
+	return lower_dentry->d_op->d_hash(lower_dentry, lower_inode, name);
 }

 /**
 <at>  <at>  -160,8 +161,9  <at>  <at> 
 {
(Continue reading)


Gmane