diff options
author | phk <phk@FreeBSD.org> | 2000-04-18 11:21:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-04-18 11:21:28 +0000 |
commit | d6ecb7a5745810db6b410b7c4da569e8e9281082 (patch) | |
tree | 337ad9009ab0940f78d14c9ae4449db5325fd65c /sys/kern/vfs_bio.c | |
parent | d297953a9f17b56644c7143453a40eb397aab2be (diff) | |
download | FreeBSD-src-d6ecb7a5745810db6b410b7c4da569e8e9281082.zip FreeBSD-src-d6ecb7a5745810db6b410b7c4da569e8e9281082.tar.gz |
Don't declare common variables in include files:
move buftimelock til vfs_bio.c where it is initialized.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 222a644..a86c5b8 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -58,6 +58,7 @@ struct bio_ops bioops; /* I/O operation notification */ struct buf *buf; /* buffer header pool */ struct swqueue bswlist; +struct simplelock buftimelock; /* Interlock on setting prio and timo */ static void vm_hold_free_pages(struct buf * bp, vm_offset_t from, vm_offset_t to); |