UBI: add reboot notifier
authorKevin Cernekee <kpc.mtd@gmail.com>
Tue, 9 Jun 2009 17:59:19 +0000 (10:59 -0700)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 10 Jun 2009 13:50:50 +0000 (16:50 +0300)
commitd9dd0887cc5c6df0dbbe5a307284610607eea7ab
tree1b6dc1bf5e90c6cd49896196abda9369a50ab3b2
parent6b5c94c6b4e1630a8e1ee7d30383d9396603749f
UBI: add reboot notifier

Terminate the UBI background thread prior to restarting the system.

[Artem: amended comments a little]

Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com>
Tested-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/ubi.h