[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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/