Re: block: del_gendisk() vs blk_queue_enter() race condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (24/10/04 16:48), Sergey Senozhatsky wrote:
[..]
> +	/*
> +	 * Fail any new I/O.
> +	 */
> +	test_bit(GD_DEAD, &disk->state);

	 ^^^ set bit, of course.

> +	blk_queue_disk_dead(disk->queue);
> +




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux