commit | 42e9041467cf5fd33501b91b27e26807c259c896 | [log] [tgz] |
---|---|---|
author | Joe Eykholt <jeykholt@cisco.com> | Tue Jul 20 15:19:37 2010 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Wed Jul 28 09:05:48 2010 -0500 |
tree | 41a335a931e151f3fa00f384b5d1fb024421b7d2 | |
parent | 519e5135e2537c9dbc1cbcc0891b0a936ff5dcd2 [diff] |
[SCSI] libfc: convert rport lookup to be RCU safe To allow LLD to do lookups on rports without grabbing a mutex, make them RCU-safe. The caller of lport->tt.rport_lookup will have the choice of holding disc_mutex or the rcu_read_lock(). Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>