]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rdma/hfi1: Fix debugfs access race
authorDean Luick <dean.luick@intel.com>
Thu, 18 Feb 2016 19:12:25 +0000 (11:12 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:44 +0000 (20:45 -0500)
commit00878b36c960b64b3fbb06b9b1b7ef7991250acb
treeccaa4092af6c120ee5eae1f245ed55274d6110a5
parentae89cc3f8a16127384f7e85df24e0ce25b934df0
staging/rdma/hfi1: Fix debugfs access race

Debugfs access races with the driver being ready.  Make sure the
driver is ready before debugfs files appear and debufs files are
gone before the driver starts tearing down.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/init.c