]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Prevent context loss
authorIra Weiny <ira.weiny@intel.com>
Thu, 9 Jun 2016 14:51:39 +0000 (07:51 -0700)
committerDoug Ledford <dledford@redhat.com>
Sat, 18 Jun 2016 00:11:26 +0000 (20:11 -0400)
commitce00d5ff292fb410ad884de73c98c190a9b13168
tree1a2b29c2d88c114c46437568bd3aea9763e35202
parent746b85587cd70992de8ce77e1de622175bd4ed75
IB/qib: Prevent context loss

If a context has already been assigned to an FD, prevent
another assignment.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_file_ops.c