diff options
author | Jon Mason <jon.mason@intel.com> | 2013-07-30 15:58:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-13 12:05:35 +0900 |
commit | cfa234b144de51eb96e877ee0bee47a3420e8bed (patch) | |
tree | 8936f0e7cbb10046f8f39188dd99de4cc70d1caf /drivers/isdn/pcbit/edss1.h | |
parent | 8293fc2416f0eb13ff81501b31f0206c5331b9cb (diff) |
NTB: Correct debugfs to work with more than 1 NTB Device
commit 1517a3f21a1dd321f16bcf44204bddff9d21abd0 upstream.
Debugfs was setup in NTB to only have a single debugfs directory. This
resulted in the leaking of debugfs directories and files when multiple
NTB devices were present, due to each device stomping on the variables
containing the previous device's values (thus preventing them from being
freed on cleanup). Correct this by creating a secondary directory of
the PCI BDF for each device present, and nesting the previously existing
information in those directories.
Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/isdn/pcbit/edss1.h')
0 files changed, 0 insertions, 0 deletions