diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-08 20:03:14 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-02-08 20:03:14 +0100 |
commit | cdccaa9467b982d57b139818d15e1e994feca372 (patch) | |
tree | 573e6aa79bce8105b3a2508a462d03368ac5214c /fs/exec.c | |
parent | 37b40adf2d1b4a5e51323be73ccf8ddcf3f15dd3 (diff) |
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 <pbonzini@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions