Displaying 1 result from an estimated 1 matches for "ocfs2_splice_to_fil".
Did you mean:
ocfs2_splice_to_file
2009 Jul 10
2
[PATCH 1/1] a fix of logging return value.
...s/ocfs2/file.c b/fs/ocfs2/file.c
index 62442e4..a49fa44 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1918,8 +1918,10 @@ out_sems:
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,
--
1.6.2.5