linux/drivers/mtd/ubi
Artem Bityutskiy 36b477d005 UBI: fix resource de-allocation
GregKH asked to fix UBI which has fake device release method. Indeed,
we have to free UBI device description object from the release method,
because otherwise we'll oops is someone opens a UBI device sysfs file,
then the device is removed, and he reads the file. With this fix, he
will get -ENODEV instead of an oops.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-01-20 18:13:53 +02:00
..
Kconfig UBI: improve Kconfig documentation 2008-04-17 11:32:00 +03:00
Kconfig.debug
Makefile
build.c UBI: fix resource de-allocation 2009-01-20 18:13:53 +02:00
cdev.c UBI: use nicer 64-bit math 2009-01-18 14:27:44 +02:00
debug.c UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
debug.h UBI: fix checkpatch.pl warnings 2008-12-28 12:20:51 +02:00
eba.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
gluebi.c UBI: use nicer 64-bit math 2009-01-18 14:27:44 +02:00
io.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
kapi.c fix similar typos to successfull 2009-01-08 08:31:15 -08:00
misc.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
scan.c UBI: use nicer 64-bit math 2009-01-18 14:27:44 +02:00
scan.h UBI: remove pre-sqnum images support 2008-07-24 13:36:09 +03:00
ubi-media.h trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
ubi.h UBI: constify file operations 2009-01-18 14:02:08 +02:00
upd.c UBI: use nicer 64-bit math 2009-01-18 14:27:44 +02:00
vmt.c UBI: use nicer 64-bit math 2009-01-18 14:27:44 +02:00
vtbl.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
wl.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00