Subject: Re: CVS commit: src
To: None <source-changes@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: source-changes
Date: 12/02/2007 19:25:40
On Sun, Dec 02, 2007 at 06:55:26PM +0100, Thomas Klausner wrote:
> On Sun, Dec 02, 2007 at 01:56:21PM +0000, Juergen Hannken-Illjes wrote:
> > Module Name: src
> > Committed By: hannken
> > Date: Sun Dec 2 13:56:21 UTC 2007
> >
> > Modified Files:
> > src/share/man/man9: fstrans.9
> > src/sys/dev: fss.c
> > src/sys/kern: vfs_bio.c vfs_trans.c vfs_vnops.c
> > src/sys/miscfs/specfs: spec_vnops.c
> > src/sys/sys: buf.h fstrans.h param.h vnode.h
> > src/sys/ufs/ffs: ffs_snapshot.c
> >
> > Log Message:
> > Fscow_run(): add a flag "bool data_valid" to note still valid data.
> > Buffers run through copy-on-write are marked B_COWDONE. This condition
> > is valid until the buffer has run through bwrite() and gets cleared from
> > biodone().
> >
> > Welcome to 4.99.39.
> >
> > Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
>
> # compile rumpkern/fstrans_stub.o
> /build/tools/bin/x86_64--netbsd-gcc -g -O0 -ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99 -Werror -mcmodel=kernel -I/usr/src/sys/rump/include -I/usr/src/sys/rump/librump/rumpkern -I. -D_KERNEL -DDIAGNOSTIC -I/usr/src/common/include -D_RUMPKERNEL -nostdinc -I/usr/src/sys -D_SYS_ATOMIC_H_ '-Datomic_add_int(t,v)=*(t)+=(v)' -I/usr/src/sys -I/usr/src/common/include -I/usr/src/sys/rump/librump/rumpuser -I/usr/src/sys/rump/librump/rumpkern/opt -DMAXUSERS=32 -nostdinc -isystem /build/amd64.20071202/usr/include -c /usr/src/sys/rump/librump/rumpkern/fstrans_stub.c -o fstrans_stub.o
> /usr/src/sys/rump/librump/rumpkern/fstrans_stub.c:70: error: conflicting types for 'fscow_establish'
> /usr/src/sys/sys/fstrans.h:80: error: previous declaration of 'fscow_establish' was here
> /usr/src/sys/rump/librump/rumpkern/fstrans_stub.c:78: error: conflicting types for 'fscow_disestablish'
> /usr/src/sys/sys/fstrans.h:82: error: previous declaration of 'fscow_disestablish' was here
> /usr/src/sys/rump/librump/rumpkern/fstrans_stub.c:85: error: conflicting types for 'fscow_run'
> /usr/src/sys/sys/fstrans.h:83: error: previous declaration of 'fscow_run' was here
> Thomas
Should compile again, sorry.
--
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)