aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-10-29 07:16:37 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-10-29 07:16:37 +0000
commit6afb3b1c3788dfa872172d553ce6f9e7b1f769e2 (patch)
treeb6292a2891ef76cfdee494defa99c8a504716585 /sys/fs/devfs
parentf62482315aa7de0cefb6d5524d6c560f85f95bd8 (diff)
downloadsrc-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.c2
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);
}