diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-30 11:44:22 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-30 11:44:22 +0000 |
commit | 116d72569a907ebcf0e60a975caf9a1dc4c46901 (patch) | |
tree | 5d655beff95519f97b797bab3cf3af7c917e277d /sys/kern | |
parent | 808d90b6550623eb8bc4bad75879b9b4d4524133 (diff) | |
download | FreeBSD-src-116d72569a907ebcf0e60a975caf9a1dc4c46901.zip FreeBSD-src-116d72569a907ebcf0e60a975caf9a1dc4c46901.tar.gz |
- Don't acquire Giant before calling b_biodone, individual consumers are
now required to do so themselves.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_bio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 665d47f..744122f 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -3087,14 +3087,8 @@ bufdone(struct buf *bp) if (bp->b_iodone != NULL) { biodone = bp->b_iodone; bp->b_iodone = NULL; - /* - * Device drivers may or may not hold giant, hold it here - * if we're calling into unknown code. - */ - mtx_lock(&Giant); bp->b_flags |= B_DONE; (*biodone) (bp); - mtx_unlock(&Giant); if (dropobj) bufobj_wdrop(dropobj); splx(s); |