]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtip32xx: Remove dfs_parent after pci unregister
authorAsai Thambi S P <asamymuthupa@micron.com>
Thu, 17 Apr 2014 03:30:16 +0000 (20:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:59:09 +0000 (18:59 -0700)
commit438b20e970ccf13d8eedd70031e1fedc957c1ccb
tree0a0ceab4645f3e0b3953640c965ff378e064321d
parent8e5d7e9d97682c239627e1c55b3ffa8cc09f187a
mtip32xx: Remove dfs_parent after pci unregister

commit af5ded8ccf21627f9614afc03b356712666ed225 upstream.

In module exit, dfs_parent and it's subtree were removed before
unregistering with pci. When debugfs entry for each device is attempted
to remove in pci_remove() context, they don't exist, as dfs_parent and
its children were already ripped apart.

Modified to first unregister with pci and then remove dfs_parent.

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/mtip32xx/mtip32xx.c