summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2015-07-29 02:26:57 +0000
committerjeff <jeff@FreeBSD.org>2015-07-29 02:26:57 +0000
commit44267026a04d5bba6872796d13bd9f9e83d859fe (patch)
treee9966ad4053c5c0df0210f4462f86f0738d97db8 /sbin
parent03740b1f15c083c9058fad53a6043321b852a200 (diff)
downloadFreeBSD-src-44267026a04d5bba6872796d13bd9f9e83d859fe.zip
FreeBSD-src-44267026a04d5bba6872796d13bd9f9e83d859fe.tar.gz
- Make 'struct buf *buf' private to vfs_bio.c. Having a global variable
'buf' is inconvenient and has lead me to some irritating to discover bugs over the years. It also makes it more challenging to refactor the buf allocation system. - Move swbuf and declare it as an extern in vfs_bio.c. This is still not perfect but better than it was before. - Eliminate the unused ffs function that relied on knowledge of the buf array. - Move the shutdown code that iterates over the buf array into vfs_bio.c. Reviewed by: kib Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud