From owner-p4-projects@FreeBSD.ORG Thu Jun 28 10:50:53 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B595F16A4F2; Thu, 28 Jun 2007 10:50:52 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8279F16A4D7 for ; Thu, 28 Jun 2007 10:50:52 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 72CC913C480 for ; Thu, 28 Jun 2007 10:50:52 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5SAoqlv037411 for ; Thu, 28 Jun 2007 10:50:52 GMT (envelope-from rdivacky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5SAoqbN037408 for perforce@freebsd.org; Thu, 28 Jun 2007 10:50:52 GMT (envelope-from rdivacky@FreeBSD.org) Date: Thu, 28 Jun 2007 10:50:52 GMT Message-Id: <200706281050.l5SAoqbN037408@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rdivacky@FreeBSD.org using -f From: Roman Divacky To: Perforce Change Reviews Cc: Subject: PERFORCE change 122470 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 10:50:53 -0000 http://perforce.freebsd.org/chv.cgi?CH=122470 Change 122470 by rdivacky@rdivacky_witten on 2007/06/28 10:50:48 Fix fallouts from parameter placement consistency ;( Affected files ... .. //depot/projects/soc2007/rdivacky/linux_at/sys/compat/linux/linux_file.c#17 edit .. //depot/projects/soc2007/rdivacky/linux_at/sys/compat/linux/linux_misc.c#6 edit Differences ... ==== //depot/projects/soc2007/rdivacky/linux_at/sys/compat/linux/linux_file.c#17 (text+ko) ==== @@ -821,7 +821,7 @@ if (ldebug(renameat)) printf(ARGS(renameat, "%s, %s"), from, to); #endif - error = kern_renameat(td, olddfd, newdfd, from, to, UIO_SYSSPACE); + error = kern_renameat(td, olddfd, from, newdfd, to, UIO_SYSSPACE); LFREEPATH(from); LFREEPATH(to); return (error); @@ -875,7 +875,7 @@ printf(ARGS(symlinkat, "%s, %s"), path, to); #endif - error = kern_symlinkat(td, dfd, path, to, UIO_SYSSPACE); + error = kern_symlinkat(td, path, dfd, to, UIO_SYSSPACE); LFREEPATH(path); LFREEPATH(to); return (error); ==== //depot/projects/soc2007/rdivacky/linux_at/sys/compat/linux/linux_misc.c#6 (text+ko) ==== @@ -1016,13 +1016,13 @@ switch (args->mode & S_IFMT) { case S_IFIFO: case S_IFSOCK: - error = kern_mkfifoat(td, path, UIO_SYSSPACE, args->mode, dfd); + error = kern_mkfifoat(td, dfd, path, UIO_SYSSPACE, args->mode); break; case S_IFCHR: case S_IFBLK: - error = kern_mknodat(td, path, UIO_SYSSPACE, args->mode, - args->dev, dfd); + error = kern_mknodat(td, dfd, path, UIO_SYSSPACE, args->mode, + args->dev); break; case S_IFDIR: @@ -1033,8 +1033,8 @@ args->mode |= S_IFREG; /* FALLTHROUGH */ case S_IFREG: - error = kern_openat(td, path, UIO_SYSSPACE, - O_WRONLY | O_CREAT | O_TRUNC, args->mode, dfd); + error = kern_openat(td, dfd, path, UIO_SYSSPACE, + O_WRONLY | O_CREAT | O_TRUNC, args->mode); break; default: