[MTD] fix use after free in register_mtd_blktrans
commit2cf3a11494b15949835ff92a7af15f979ac37bbd
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sat, 28 Mar 2009 17:44:24 +0000 (28 18:44 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Apr 2009 09:36:23 +0000 (3 10:36 +0100)
tree95431300bd2dba8e7d2db8b689e6c2031d4b7a27
parent61dd7eb876344904aece6b1837da6ea1cbadbc07
[MTD] fix use after free in register_mtd_blktrans

Reported-by: Dan Carpenter <error27@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtd_blkdevs.c