]> git.hungrycats.org Git - linux/commit
[PATCH] dac960 devfs_name initialisation fix
authorAndrew Morton <akpm@osdl.org>
Tue, 9 Sep 2003 17:18:56 +0000 (10:18 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 9 Sep 2003 17:18:56 +0000 (10:18 -0700)
commitc6a4440f93f713418a3e2a7ace2e3d02526064b6
tree7f02adabe45d1022427383480fcf35237bcd601b
parenta39e2c392d15aab2c2eb6f9d7542c7855a7eb92a
[PATCH] dac960 devfs_name initialisation fix

From: Andrey Borzenkov <arvidjaar@mail.ru>

DAC960.c does it incorrectly (at least in 2.6.0-test4). It will create
_directory_ /dev/rd/cNdM making it impossible to create compat block device
entry with the same name.

The right thing it to create separate directory for each controller/target as
in attached trivial patch (untested due to lack of hardware). You will need
devfsd support for this but then you will need it for cciss or cpqarray as
well and possibly for others. Which returns us to the problem of devfsd
maintenance ...
drivers/block/DAC960.c