diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-29 07:16:37 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-29 07:16:37 +0000 |
commit | 6afb3b1c3788dfa872172d553ce6f9e7b1f769e2 (patch) | |
tree | b6292a2891ef76cfdee494defa99c8a504716585 /sys/fs/devfs | |
parent | f62482315aa7de0cefb6d5524d6c560f85f95bd8 (diff) | |
download | src-6afb3b1c3788dfa872172d553ce6f9e7b1f769e2.tar.gz src-6afb3b1c3788dfa872172d553ce6f9e7b1f769e2.zip |
Give dev_strategy() an explict cdev argument in preparation for removing
buf->b-dev.
Put a bio between the buf passed to dev_strategy() and the device driver
strategy routine in order to not clobber fields in the buf.
Assert copyright on vfs_bio.c and update copyright message to canonical
text. There is no legal difference between John Dysons two-clause
abbreviated BSD license and the canonical text.
Notes
Notes:
svn path=/head/; revision=137029
Diffstat (limited to 'sys/fs/devfs')
-rw-r--r-- | sys/fs/devfs/devfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index c7af743fb939..3451440cc393 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -1274,7 +1274,7 @@ devfs_specstrategy(ap) } } - dev_strategy(bp); + dev_strategy(bp->b_dev, bp); return (0); } |