-mm specific addon to the same kind of patches I sent a few weeks
Index: linux-2.6.12/fs/relayfs/inode.c
===================================================================
--- linux-2.6.12.orig/fs/relayfs/inode.c 2005-06-27 21:12:33.000000000 +0200
+++ linux-2.6.12/fs/relayfs/inode.c 2005-06-28 13:24:05.000000000 +0200
@@ -94,7 +94,6 @@
int mode,
struct rchan *chan)
{
- struct qstr qname;
struct dentry *d;
struct inode *inode;
int error = 0;
@@ -107,10 +106,6 @@
return NULL;
}
- qname.name = name;
- qname.len = strlen(name);
- qname.hash = full_name_hash(name, qname.len);
-
if (!parent && relayfs_mount && relayfs_mount->mnt_sb)
parent = relayfs_mount->mnt_sb->s_root;
@@ -121,7 +116,7 @@
parent = dget(parent);
down(&parent->d_inode->i_sem);
- d = lookup_hash(&qname, parent);
+ d = lookup_one_len(name, parent, strlen(name));
if (IS_ERR(d)) {
d = NULL;
goto release_mount;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]