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

Joerg Sonnenberger joerg at britannica.bec.de
Wed Aug 3 05:55:11 PDT 2005


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





More information about the Commits mailing list