Re: [RFC PATCH 3/9] target: add helper to find se_device by dev_index

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

 



On Mon, 2017-06-12 at 13:40 -0500, Mike Christie wrote:
> For the xcopy use, I was still trying to figure out how that worked
> before my patches. target_xcopy_locate_se_dev_e4 would return a device
> under the g_device_mutex but I could not figure out how it was protected
> from removal after that mutex was dropped.

Hello Mike,

I don't think that protection did already exist. Had you noticed the
following patch: "[PATCH v6 12/33] target: Introduce target_get_device()
and target_put_device()"
(https://www.spinics.net/lists/target-devel/msg14535.html)?

Bart.--
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