]> git.karo-electronics.de Git - linux-beck.git/commit
mtip32xx: Fix NULL pointer dereference during module unload
authorSam Bradshaw <sbradshaw@micron.com>
Wed, 15 May 2013 08:04:34 +0000 (10:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 May 2013 08:04:34 +0000 (10:04 +0200)
commit974a51a245c2c8bece21cf2d3cbfc8261260f729
tree6c9706dda460389252d0be19f98a6842c667516a
parentf722406faae2d073cc1d01063d1123c35425939e
mtip32xx: Fix NULL pointer dereference during module unload

An open file-handle to one or more of the driver exported debugfs
nodes causes raciness in recursive removal during module unload;
sometimes a stale parent dentry is dereferenced when more than 1
pci device is present.

Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c