| Submitter | Artem Bityutskiy |
|---|---|
| Date | Aug. 7, 2010, 8:26 a.m. |
| Message ID | <1281169577-18664-2-git-send-email-dedekind1@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/61171/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c index 918d158..f89a422 100644 --- a/fs/ubifs/gc.c +++ b/fs/ubifs/gc.c @@ -774,8 +774,8 @@ out_unlock: out: ubifs_assert(ret < 0); ubifs_assert(ret != -ENOSPC && ret != -EAGAIN); - ubifs_ro_mode(c, ret); ubifs_wbuf_sync_nolock(wbuf); + ubifs_ro_mode(c, ret); mutex_unlock(&wbuf->io_mutex); ubifs_return_leb(c, lp.lnum); return ret;