patch-2.1.73 linux/arch/mips/kernel/sysirix.c

Next file: linux/arch/mips/kernel/sysmips.c
Previous file: linux/arch/mips/kernel/syscalls.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/arch/mips/kernel/sysirix.c linux/arch/mips/kernel/sysirix.c
@@ -1,4 +1,4 @@
-/* $Id: sysirix.c,v 1.4 1997/08/08 18:12:35 miguel Exp $
+/* $Id: sysirix.c,v 1.6 1997/12/06 11:29:29 ralf Exp $
  * sysirix.c: IRIX system call emulation.
  *
  * Copyright (C) 1996 David S. Miller
@@ -26,7 +26,7 @@
 #include <asm/pgtable.h>
 #include <asm/uaccess.h>
 
-/* 2,300 lines of complete and utter shit coming up... */
+/* 2,358 lines of complete and utter shit coming up... */
 
 /* The sysmp commands supported thus far. */
 #define MP_PGSIZE           14 /* Return system page size in v1. */
@@ -751,8 +751,6 @@
 	}
 	error = 0;
 
-dput_and_out:
-	dput(dentry);
 out:
 	unlock_kernel();
 	return error;
@@ -1516,8 +1514,6 @@
 
 	error = 0;
 
-dput_and_out:
-	dput(dentry);
 out:
 	unlock_kernel();
 	return error;
@@ -1881,8 +1877,6 @@
 
 	error = 0;
 
-dput_and_out:
-	dput(dentry);
 out:
 	unlock_kernel();
 	return error;
@@ -2023,7 +2017,7 @@
 	buf.count = count;
 	buf.error = 0;
 
-	error = file->f_op->readdir(inode, file, &buf, irix_filldir32);
+	error = file->f_op->readdir(file, &buf, irix_filldir32);
 	if (error < 0)
 		goto out;
 	lastdirent = buf.previous;
@@ -2135,7 +2129,7 @@
 	buf.previous = NULL;
 	buf.count = cnt;
 	buf.error = 0;
-	error = file->f_op->readdir(inode, file, &buf, irix_filldir64);
+	error = file->f_op->readdir(file, &buf, irix_filldir64);
 	if (error < 0)
 		goto out;
 	lastdirent = buf.previous;
@@ -2198,7 +2192,7 @@
 	buf.previous = NULL;
 	buf.count = cnt;
 	buf.error = 0;
-	error = file->f_op->readdir(inode, file, &buf, irix_filldir64);
+	error = file->f_op->readdir(file, &buf, irix_filldir64);
 	if (error < 0)
 		goto out;
 	lastdirent = buf.previous;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov