diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2016-02-05 17:36:40 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-02-05 23:14:28 +0300 |
commit | 7425f410ca6cffe81400906286f80e8e15d9b301 (patch) | |
tree | 9d4003f124314fa74319703c15710ac41845e646 /drivers | |
parent | aff3ead9fa25b2a472d1a894365f66b28e1e2787 (diff) | |
download | linux-7425f410ca6cffe81400906286f80e8e15d9b301.tar.xz |
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')
-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) |