OSDN Git Service

IB/hfi1: Refactor assign_ctxt() IOCTL
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Tue, 26 Sep 2017 14:03:50 +0000 (07:03 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 15:08:05 +0000 (11:08 -0400)
commitddebe9810cb0d5f28e101125bfa249a826bc0536
treedbe76f59cfd2137828623ccc3bec07678d9b3468
parentd59075ad1e091cdb663974b10c8bac5491acc356
IB/hfi1: Refactor assign_ctxt() IOCTL

The IOCTL is a bit unwieldy.  Refactor to a common pattern.
Refactor the assign_ctxt() IOCTL.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/file_ops.c