DragonFly BSD
DragonFly commits List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern vfs_bio.c vfs_syscalls.c src/sys/sys buf.h src/sys/vm vm_pager.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 3 Aug 2005 14:52:37 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Tue, Aug 02, 2005 at 09:59:53PM -0700, Hiten Pandya wrote:
>   Localise buffer queue information into kern/vfs_bio.c, it should not be
>   messed with outside of the named file.  Convert the QUEUE_* #defines
>   into enum bufq_type, prefix the names with 'B'.  The change to initpbuf()
>   is acceptable since they are a hack anyway, not to mention that

You might want to change the various switch statements to have no
default case, allowing GCC to warn about missing cases.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]