Re: [PATCH 3/3] target: make the se_task task_state_active a normal bool

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

 



On Wed, 2011-11-23 at 06:54 -0500, Christoph Hellwig wrote:
> There is no need to make task_state_active an atomic_t given that it is
> always set under the execute_task_lock so we can make it a simple bool.
> Also rename it to t_state_active to be closer to the list it guards,
> and make sure all checks before the list addion/removal actually happen
> under execute_task_lock.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> 

Applied, and will get these queued for v3.2-rc this week.

Thanks Christoph!

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux