Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213014
b: refs/heads/master
c: 3903755
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Oct 21, 2010
1 parent 3577d12 commit 3a9b979
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d08ae3c9205b559f90c3d7a3abba3c6479673c7
refs/heads/master: 39037559e651c417fb68b828926dc61cd5d6e5e2
9 changes: 3 additions & 6 deletions trunk/fs/ubifs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1686,10 +1686,8 @@ static void ubifs_remount_ro(struct ubifs_info *c)

dbg_save_space_info(c);

for (i = 0; i < c->jhead_cnt; i++) {
for (i = 0; i < c->jhead_cnt; i++)
ubifs_wbuf_sync(&c->jheads[i].wbuf);
hrtimer_cancel(&c->jheads[i].wbuf.timer);
}

c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_DIRTY);
c->mst_node->flags |= cpu_to_le32(UBIFS_MST_NO_ORPHS);
Expand Down Expand Up @@ -1754,9 +1752,8 @@ static void ubifs_put_super(struct super_block *sb)
int err;

/* Synchronize write-buffers */
if (c->jheads)
for (i = 0; i < c->jhead_cnt; i++)
ubifs_wbuf_sync(&c->jheads[i].wbuf);
for (i = 0; i < c->jhead_cnt; i++)
ubifs_wbuf_sync(&c->jheads[i].wbuf);

/*
* We are being cleanly unmounted which means the
Expand Down

0 comments on commit 3a9b979

Please sign in to comment.