aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi.h
diff options
context:
space:
mode:
authorVlad Yasevich2013-06-25 16:04:19 -0400
committerDavid S. Miller2013-06-25 16:44:56 -0700
commit441ac0fcaadc76ad09771812382345001dd2b813 (patch)
tree7ec1df8d9dfabfab411693461b65a3841a3ec276 /drivers/scsi/scsi.h
parent2d48d67fa8cd129ea85ea02d91b4a793286866f8 (diff)
macvtap: Convert to using rtnl lock
Macvtap uses a private lock to protect the relationship between macvtap_queue and macvlan_dev. The private lock is not needed since the relationship is managed by user via open(), release(), and dellink() calls. dellink() already happens under rtnl, so we can safely convert open() and release(), and use it in ioctl() as well. Suggested by Eric Dumazet. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions