]> err.no Git - linux-2.6/commit
[PATCH] s390: dasd open counter
authorHorst Hummel <horst.hummel@de.ibm.com>
Wed, 1 Feb 2006 11:06:36 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:24 +0000 (08:53 -0800)
commit57467195d1581e354998d5cc35dfd7a12d6e0a24
tree6b8db246cc3856a15d30ade8e057e069cef34927
parent600b5d163d7434332539cac7be00f649cbbfedcc
[PATCH] s390: dasd open counter

The open_count is increased for every opener, that includes the blkdev_get in
dasd_scan_partitions.  This tampers the open_count in BIODASDINFO.  Hide the
internal open from user-space.

Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/block/dasd_ioctl.c