Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156700
b: refs/heads/master
c: 812e7a6
h: refs/heads/master
v: v3
  • Loading branch information
Wengang Wang authored and Joel Becker committed Jul 10, 2009
1 parent 047b938 commit 363de5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 17ae26b669886efe237b77439e43eb390fceb119
refs/heads/master: 812e7a6a43fc34bc8f70c2b80db4ea5997d66ea8
4 changes: 3 additions & 1 deletion trunk/fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1918,8 +1918,10 @@ static ssize_t ocfs2_file_aio_write(struct kiocb *iocb,

mutex_unlock(&inode->i_mutex);

if (written)
ret = written;
mlog_exit(ret);
return written ? written : ret;
return ret;
}

static int ocfs2_splice_to_file(struct pipe_inode_info *pipe,
Expand Down

0 comments on commit 363de5f

Please sign in to comment.