summaryrefslogtreecommitdiff
path: root/include/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-20 18:04:09 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-20 18:13:53 +0200
commit36b477d005fbda29e7581c3cef7ee31a59d8970b (patch)
treecacdcc1b18bfce9f627a87c115d4c6192a626b8b /include/mtd
parent8c4c19f1367435afdc16ac122a2a95a4d6cff9f0 (diff)
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>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions