From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Date: Tue, 15 Jul 2003 19:26:54 +0000 Subject: Re: IA-32 support patch: fcntl64 calls are broken Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Tuesday 08 July 2003 3:51 pm, Arun Sharma wrote: > Matthew Wilcox wrote: > > On Tue, Jul 08, 2003 at 11:57:21AM -0700, Arun Sharma wrote: > > > >>--- linux/arch/ia64/ia32/sys_ia32.c- Tue Jun 24 15:43:39 2003 > >>+++ linux/arch/ia64/ia32/sys_ia32.c Tue Jul 1 14:09:27 2003 > >>@@ -3622,9 +3622,11 @@ > >> return -EFAULT; > >> old_fs = get_fs(); > >> set_fs(KERNEL_DS); > >>- ret = sys_fcntl(fd, cmd, (unsigned long) &f); > >>+ ret = sys_fcntl(fd, (cmd = F_GETLK64) ? F_GETLK : > > > > > > looks like you're using spaces instead of tabs. tsk. > > > > I admit to cutting and pasting from 2.5 :) An updated patch with tabs is attached. Applied this to 2.4. Whew :-)