[CFT][PATCH] cciss/cpqarray fixes (2.5)

From: viro@parcelfarce.linux.theplanet.co.uk
Date: Fri Apr 25 2003 - 22:41:51 EST


        Folks, if you have access to cciss and/or cpqarray test boxen,
please check if ftp.linux.org.uk/pub/people/viro/T24-cciss-C68 and
ftp.linux.org.uk/pub/people/viro/T25-cpqarray-C68 restore the "allow
root to open device with minor 0 even if nothing had been configured"
behaviour.

        Changes:
a) we _always_ register gendisk for disk #0 on controller.
b) it stays registered until we forget about controller.
c) when old code would remove it, we merely set size to 0.

        That (presumably) fixes the breakage introduced in 2.5 when we
started to require registered gendisk for open(2). Please, check if that
helps and doesn't introduce new breakage - I don't have either hardware, so
it's completely untested. It builds, but that's it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:23 EST