Re: [PATCH 03/12] target/configfs: Convert mappedlun + SCSI MIBs to RCU reader

Christoph Hellwig
2015-05-13T05:49:12Z

On Tue, May 12, 2015 at 10:09:23PM -0700, Nicholas A. Bellinger wrote:
> > Why do we still need TRANSPORT_LUNFLAGS_INITIATOR_ACCESS? Isn't deve
> > being not-NULL enough?
> >
>
> Yep, I think this can go as well. Dropping now.

Also might be worth to add a helper that has the ->se_lun_acl check
in one place and documents why these callers want a dev_entry with
a proper ACL. Also I think the ->se_lun checks should not be needed
here.