]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cciss: remove partition info from CCISS_GETLUNINFO
authorMike Miller <mike.miller@hp.com>
Mon, 27 Jun 2005 21:36:50 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 22:11:48 +0000 (15:11 -0700)
commit628e7c987a2255a9dba9fdd99aa172406bf3bde8
treec6ef665334f5c666ccb7afe490deed0e35df2b0f
parent7a36fea6004b090483f372a317b0c21489fc36d9
[PATCH] cciss: remove partition info from CCISS_GETLUNINFO

This patch fulfills a promise I made to Christoph sometime back.  I am
removing the partition info from the CCISS_GETLUNINFO ioctl as I was informed
my "driver had no damn business reading that structure." ;)

The application folks are to use /proc or /sys for partition info from now on.
 I am only aware of a few apps that use this ioctl and I'm not sure they ever
used the partition info.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cciss.c