From: Artem Bityutskiy Date: Mon, 18 Oct 2010 05:32:35 +0000 (+0300) Subject: UBIFS: do not forget to cancel timers X-Git-Tag: v2.6.37-rc1~170^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3601ba27353a968df843454e4b81155376682505;p=pandora-kernel.git UBIFS: do not forget to cancel timers This is a bug-fix: when we unmount, and we are currently in R/O mode because of an error - we do not sync write-buffers, which means we also do not cancel write-buffer timers we may possibly have armed. This patch fixes the issue. The issue can easily be reproduced by enabling UBIFS failure debug mode (echo 4 > /sys/module/ubifs/parameters/debug_tsts) and unmounting as soon as a failure happen. At some point the system oopses because we have an armed hrtimer but UBIFS is unmounted already. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed