[patch 1/9] ide-tape: fix character device ->open() vs ->cleanup() race

2005-02-03 Thread Bartlomiej Zolnierkiewicz
Similar to the same race but for the block device. * store pointer to struct ide_tape_obj in idetape_chrdevs[] * rename idetape_chrdevs[] to idetape_devs[] and kill idetape_chrdev_t * add ide_tape_chrdev_get() for getting reference to the tape * store tape pointer in file->private_data and fix

[patch 1/9] ide-tape: fix character device -open() vs -cleanup() race

2005-02-03 Thread Bartlomiej Zolnierkiewicz
Similar to the same race but for the block device. * store pointer to struct ide_tape_obj in idetape_chrdevs[] * rename idetape_chrdevs[] to idetape_devs[] and kill idetape_chrdev_t * add ide_tape_chrdev_get() for getting reference to the tape * store tape pointer in file-private_data and fix