diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2016-02-05 15:36:40 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-02-05 21:14:28 +0100 |
commit | 7425f410ca6cffe81400906286f80e8e15d9b301 (patch) | |
tree | 9d4003f124314fa74319703c15710ac41845e646 /drivers/infiniband | |
parent | RDMA/ocrdma: Fix pkey_index returned by driver in rq work completion (diff) | |
download | linux-7425f410ca6cffe81400906286f80e8e15d9b301.tar.xz linux-7425f410ca6cffe81400906286f80e8e15d9b301.zip |
RDMA/ocrdma: Fixing ocrdma debugfs directory remove
During the ocrdma device remove sequence, the debugfs directory
tree of each ocrdma device needs to be removed. Use
debugfs_remove_recursive instead of debugfs_remove.
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_stats.c b/drivers/infiniband/hw/ocrdma/ocrdma_stats.c index fc02e86849ce..255f774080a4 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_stats.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_stats.c @@ -851,7 +851,7 @@ void ocrdma_rem_port_stats(struct ocrdma_dev *dev) { if (!dev->dir) return; - debugfs_remove(dev->dir); + debugfs_remove_recursive(dev->dir); } void ocrdma_init_debugfs(void) |