From chris@aims.com.au  Mon Jun 24 00:01:40 2002
Return-Path: <chris@aims.com.au>
Received: from postoffice.aims.com.au (eth0.lnk.aims.com.au [203.31.73.253])
	by hub.freebsd.org (Postfix) with ESMTP id 855C437B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jun 2002 00:01:20 -0700 (PDT)
Received: from ait0td02.aims.private (ait0td02.aims.private [192.168.10.253])
	by postoffice.aims.com.au  with ESMTP id g5O71Jm40100;
	Mon, 24 Jun 2002 17:01:19 +1000 (EST)
	(envelope-from chris@aims.com.au)
Received: from ait0td02.aims.private (localhost [127.0.0.1])
	by ait0td02.aims.private (8.12.4/8.12.4) with ESMTP id g5O71HDN007750;
	Mon, 24 Jun 2002 17:01:17 +1000 (EST)
	(envelope-from chris@aims.com.au)
Received: (from root@localhost)
	by ait0td02.aims.private (8.12.4/8.12.4/Submit) id g5O71H2O007749;
	Mon, 24 Jun 2002 17:01:17 +1000 (EST)
Message-Id: <200206240701.g5O71H2O007749@ait0td02.aims.private>
Date: Mon, 24 Jun 2002 17:01:17 +1000 (EST)
From: Chris Knight <root@ait0td02.aims.private>
Reply-To: Chris Knight <chris@aims.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc: chris@aims.com.au
Subject: ffs_softdep_stub.c has wrong function definitions
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         39762
>Category:       kern
>Synopsis:       ffs_softdep_stub.c has wrong function definitions
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 00:10:01 PDT 2002
>Closed-Date:    Mon Jun 24 10:28:38 PDT 2002
>Last-Modified:  Mon Jun 24 10:28:38 PDT 2002
>Originator:     Chris Knight
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
AIMS Independent Computer Professionals
>Environment:

System: FreeBSD ait0td02.aims.private 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Jun 23 20:51:12 EST 2002 root@ait0td02.aims.private:/usr/obj/usr/src/sys/GENERIC i386

>Description:

Building of BOOTMFS fails in ffs_softdep_stub.c due to differing function
declarations of softdep_setup_directory_add and softdep_setup_directory_change.

>How-To-Repeat:

Try a release build of -current

>Fix:

Index: ffs_softdep_stub.c
===================================================================
RCS file: /common/ncvs/src/sys/ufs/ffs/ffs_softdep_stub.c,v
retrieving revision 1.22
diff -u -r1.22 ffs_softdep_stub.c
--- ffs_softdep_stub.c	21 Jun 2002 06:18:03 -0000	1.22
+++ ffs_softdep_stub.c	24 Jun 2002 06:29:36 -0000
@@ -166,7 +166,7 @@
 	struct buf *bp;
 	struct inode *dp;
 	off_t diroffset;
-	long newinum;
+	ino_t newinum;
 	struct buf *newdirbp;
 	int isnewblk;
 {
@@ -202,7 +202,7 @@
 	struct buf *bp;
 	struct inode *dp;
 	struct inode *ip;
-	long newinum;
+	ino_t newinum;
 	int isrmdir;
 {
 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mckusick 
State-Changed-When: Mon Jun 24 10:27:59 PDT 2002 
State-Changed-Why:  
The suggested patch was applied which resolved the problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39762 
>Unformatted:
