Subject: afs/fs/afs super.c,1.12,1.13

From: [email-masked]
Date: Thu, 25 Mar 2004 15:31:51 +0000

Update of /home/cvs/afs/fs/afs
In directory phoenix.infradead.org:/tmp/cvs-serv24523/fs/afs

Modified Files:
	super.c 
Log Message:
sync with 2.6.4

Index: super.c
===================================================================
RCS file: /home/cvs/afs/fs/afs/super.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- super.c	10 Sep 2003 13:32:37 -0000	1.12
+++ super.c	25 Mar 2004 15:31:48 -0000	1.13
@@ -35,14 +35,6 @@
 	struct afs_volume	*volume;
 };
 
-static inline char *strdup(const char *s)
-{
-	char *ns = kmalloc(strlen(s) + 1, GFP_KERNEL);
-	if (ns)
-		strcpy(ns, s);
-	return ns;
-}
-
 static void afs_i_init_once(void *foo, kmem_cache_t *cachep,
 			    unsigned long flags);
 
@@ -288,7 +280,6 @@
 	return 0;
 
  error:
-	dput(root);
 	iput(inode);
 	afs_put_volume(as->volume);
 	kfree(as);