Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2001 13:35:07 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/fs/hpfs hpfs_vnops.c
Message-ID:  <Pine.BSF.4.21.0105011323010.31663-100000@besplex.bde.org>
In-Reply-To: <200104302121.f3ULLrb72820@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>   Modified files:
>     sys/fs/hpfs          hpfs_vnops.c 
>   Log:
>   Uncut&paste som bogus use of VOP_BMAP in hpfs::VOP_STRATEGY.
>   
>   At the same time, eliminate uninitialized use of a vnode
>   pointer.  Interesting GCC didn't spot this.

This is because the pointer was supposed to be, and was, initialized by
VOP_BMAP().  gcc must assume that foo(&bar) initializes `bar'.

BTW, VOP_BMAP() doesn't have a man page, even one that does less than
echo vnode_if.src, so debogotifying its man page is very easy.  This is
not true of VOP_BWRITE().

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105011323010.31663-100000>