From: Paolo Bonzini Date: Wed, 8 Feb 2012 19:03:14 +0000 (+0100) Subject: cdrom: move shared static to cdrom_device_info X-Git-Tag: v3.3-rc4~33^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdccaa9467b982d57b139818d15e1e994feca372;p=pandora-kernel.git cdrom: move shared static to cdrom_device_info The keeplocked variable in the cdrom driver is shared across multiple drives, but set in per-device ioctls. Move it to the per-device struct, avoiding that the setting on one drive affects the driver's behavior when closing another. [ Impact: limit udev's confusion to one drive when a CD burning program unlocks the CD door at the end of burning. ] Signed-off-by: Paolo Bonzini Signed-off-by: Jens Axboe --- Reading git-diff-tree failed