aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ubifs/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c
index 918d1582ca05..f89a422ca395 100644
--- a/fs/ubifs/gc.c
+++ b/fs/ubifs/gc.c
@@ -774,8 +774,8 @@ out_unlock:
774out: 774out:
775 ubifs_assert(ret < 0); 775 ubifs_assert(ret < 0);
776 ubifs_assert(ret != -ENOSPC && ret != -EAGAIN); 776 ubifs_assert(ret != -ENOSPC && ret != -EAGAIN);
777 ubifs_ro_mode(c, ret);
778 ubifs_wbuf_sync_nolock(wbuf); 777 ubifs_wbuf_sync_nolock(wbuf);
778 ubifs_ro_mode(c, ret);
779 mutex_unlock(&wbuf->io_mutex); 779 mutex_unlock(&wbuf->io_mutex);
780 ubifs_return_leb(c, lp.lnum); 780 ubifs_return_leb(c, lp.lnum);
781 return ret; 781 return ret;