diff options
author | attilio <attilio@FreeBSD.org> | 2010-09-15 14:24:21 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2010-09-15 14:24:21 +0000 |
commit | 2eb7a3903b20124b8ceeb1f1e6ad876cb0c59610 (patch) | |
tree | dfe56a0618424f9d7219c9f0cbd2ef0b62fb9d2d /contrib/diff/lib | |
parent | 02ebb2e3c38267fc34892380ab39bf7a031c073b (diff) | |
download | FreeBSD-src-2eb7a3903b20124b8ceeb1f1e6ad876cb0c59610.zip FreeBSD-src-2eb7a3903b20124b8ceeb1f1e6ad876cb0c59610.tar.gz |
Fix bogus busying mechanism from cdevsw callbacks:
- D_TRACKCLOSE may be used there as d_close() are expected to match up
d_open() calls
- Replace the hand-crafted counter and flag with the
device_busy()/device_unbusy() proper usage.
Sponsored by: Sandvine Incorporated
Reported by: Mark Johnston <mjohnston at sandvine dot com>
Tested by: Mark Johnston
Reviewed by: emaste
MFC after: 10 days
Diffstat (limited to 'contrib/diff/lib')
0 files changed, 0 insertions, 0 deletions