diff options
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index b9b051a4c01e..91c91cb7a599 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -799,7 +799,7 @@ static int alloc_wbufs(struct ubifs_info *c) | |||
799 | * does not need to be synchronized by timer. | 799 | * does not need to be synchronized by timer. |
800 | */ | 800 | */ |
801 | c->jheads[GCHD].wbuf.dtype = UBI_LONGTERM; | 801 | c->jheads[GCHD].wbuf.dtype = UBI_LONGTERM; |
802 | c->jheads[GCHD].wbuf.timeout = 0; | 802 | c->jheads[GCHD].wbuf.softlimit = ktime_set(0, 0); |
803 | 803 | ||
804 | return 0; | 804 | return 0; |
805 | } | 805 | } |
@@ -1695,7 +1695,7 @@ static void ubifs_remount_ro(struct ubifs_info *c) | |||
1695 | 1695 | ||
1696 | for (i = 0; i < c->jhead_cnt; i++) { | 1696 | for (i = 0; i < c->jhead_cnt; i++) { |
1697 | ubifs_wbuf_sync(&c->jheads[i].wbuf); | 1697 | ubifs_wbuf_sync(&c->jheads[i].wbuf); |
1698 | del_timer_sync(&c->jheads[i].wbuf.timer); | 1698 | hrtimer_cancel(&c->jheads[i].wbuf.timer); |
1699 | } | 1699 | } |
1700 | 1700 | ||
1701 | c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); | 1701 | c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY); |
@@ -1755,7 +1755,7 @@ static void ubifs_put_super(struct super_block *sb) | |||
1755 | if (c->jheads) | 1755 | if (c->jheads) |
1756 | for (i = 0; i < c->jhead_cnt; i++) { | 1756 | for (i = 0; i < c->jhead_cnt; i++) { |
1757 | ubifs_wbuf_sync(&c->jheads[i].wbuf); | 1757 | ubifs_wbuf_sync(&c->jheads[i].wbuf); |
1758 | del_timer_sync(&c->jheads[i].wbuf.timer); | 1758 | hrtimer_cancel(&c->jheads[i].wbuf.timer); |
1759 | } | 1759 | } |
1760 | 1760 | ||
1761 | /* | 1761 | /* |