[PATCH][COMPAT][TRIVIAL] fix type in compat_sys_fcntl64

From: Stephen Rothwell <sfr_at_canb.auug.org.au>
Date: 2003-06-26 11:37:04
Hi Linus,

[Pointed out by Bjorn Helgaas via Arun Sharma]

This fixes an obvious cut and paste error in my original patch.  Please
apply.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.73-bk3/fs/compat.c 2.5.73-bk3-sfr.1/fs/compat.c
--- 2.5.73-bk3/fs/compat.c	2003-06-23 09:59:58.000000000 +1000
+++ 2.5.73-bk3-sfr.1/fs/compat.c	2003-06-26 11:31:23.000000000 +1000
@@ -451,7 +451,6 @@
 			break;
 		old_fs = get_fs();
 		set_fs(KERNEL_DS);
-		ret = sys_fcntl(fd, F_GETLK, (unsigned long)&f);
 		ret = sys_fcntl(fd, (cmd == F_GETLK64) ? F_GETLK :
 				((cmd == F_SETLK64) ? F_SETLK : F_SETLKW),
 				(unsigned long)&f);
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Jun 25 21:38:44 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:15 EST