Skip to contentSkip to conversation

SG_GET_ACCESS_COUNT ioctl problem

DISCUSSION Andrew Morton 1 participant 1 message Jan 10, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Sun, 08 Jan 2006 08:45:26 -0500
From: Mark Hounschell <[email protected]>
To: linux-kernel <[email protected]>
Subject: SG_GET_ACCESS_COUNT ioctl problem

In the 2.4 kernel (not using devfs) the SG_GET_ACCESS_COUNT ioctl to an sg device would report the correct/expected usage count when issued to a sd disc that was mounted, accounting for the mount by the system. The 2.6 kernel does not. Is this now the expected behavior or is this a bug?

Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/