diff options
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 6ff2f802bd7e..9a47c9f0ad07 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -1772,6 +1772,10 @@ static void ubifs_put_super(struct super_block *sb) | |||
1772 | */ | 1772 | */ |
1773 | ubifs_err("failed to write master node, " | 1773 | ubifs_err("failed to write master node, " |
1774 | "error %d", err); | 1774 | "error %d", err); |
1775 | } else { | ||
1776 | for (i = 0; i < c->jhead_cnt; i++) | ||
1777 | /* Make sure write-buffer timers are canceled */ | ||
1778 | hrtimer_cancel(&c->jheads[i].wbuf.timer); | ||
1775 | } | 1779 | } |
1776 | } | 1780 | } |
1777 | 1781 | ||