summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-10-29 07:16:37 +0000
committerphk <phk@FreeBSD.org>2004-10-29 07:16:37 +0000
commit86cc21c765d6aeea9a1168a037adf88a3ca8d93b (patch)
treeb6292a2891ef76cfdee494defa99c8a504716585 /sys/fs/devfs
parent616a502e11b454593e49f103df2145e5ba4398dd (diff)
downloadFreeBSD-src-86cc21c765d6aeea9a1168a037adf88a3ca8d93b.zip
FreeBSD-src-86cc21c765d6aeea9a1168a037adf88a3ca8d93b.tar.gz
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.
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 c7af743..3451440 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);
}
OpenPOWER on IntegriCloud