Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189110
b: refs/heads/master
c: d067633
h: refs/heads/master
v: v3
  • Loading branch information
Ryusuke Konishi committed Mar 23, 2010
1 parent b14b223 commit c0f8039
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 110d735a0ae69bdd11af9acb6ea3b979137eb118
refs/heads/master: d067633b4483f3c7d971d8f889f35340a8635bb5
8 changes: 4 additions & 4 deletions trunk/fs/nilfs2/segbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,14 @@ int nilfs_write_logs(struct list_head *logs, struct the_nilfs *nilfs)
int nilfs_wait_on_logs(struct list_head *logs)
{
struct nilfs_segment_buffer *segbuf;
int err;
int err, ret = 0;

list_for_each_entry(segbuf, logs, sb_list) {
err = nilfs_segbuf_wait(segbuf);
if (err)
return err;
if (err && !ret)
ret = err;
}
return 0;
return ret;
}

/*
Expand Down

0 comments on commit c0f8039

Please sign in to comment.