Subject: afs/fs/afs main.c,1.7,1.8

From: [email-masked]
Date: Thu, 10 Apr 2003 12:04:55 +0100

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

Modified Files:
	main.c 
Log Message:
afs_syscall() isn't actually real syscall entrypoint

Index: main.c
===================================================================
RCS file: /home/cvs/afs/fs/afs/main.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- main.c	9 Apr 2003 15:43:07 -0000	1.7
+++ main.c	10 Apr 2003 11:04:52 -0000	1.8
@@ -50,13 +50,13 @@
 
 /*****************************************************************************/
 /*
- * AFS syscall handler
+ * AFS syscall handler (called from in-kernel stub)
  */
-static int afs_syscall(long cmd, va_list va)
+static int do_afs_syscall(long cmd, va_list va)
 {
 	kenter("{%ld}",cmd);
 	return -ENOANO;
-} /* end afs_syscall() */
+} /* end do_afs_syscall() */
 
 /*****************************************************************************/
 /*
@@ -106,7 +106,7 @@
 		goto error_transport;
 
 	/* register the AFS syscall */
-	ret = register_afs_syscall_handler(afs_syscall,THIS_MODULE);
+	ret = register_afs_syscall_handler(do_afs_syscall,THIS_MODULE);
 	if (ret<0)
 		goto error_fs;