Skip to content

Commit

Permalink
ocfs2-do-not-fallback-to-buffer-i-o-write-if-fill-holes-checkpatch-fixes
Browse files Browse the repository at this point in the history
WARNING: 'retuned' may be misspelled - perhaps 'returned'?
torvalds#112: FILE: fs/ocfs2/file.c:2329:
+		 * If generic_file_buffered_write() retuned a synchronous error

total: 0 errors, 1 warnings, 121 lines checked

./patches/ocfs2-do-not-fallback-to-buffer-i-o-write-if-fill-holes.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Joel Becker <jlbec@evilplan.org>
Cc: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Weiwei Wang <wangww631@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and hnaz committed Oct 24, 2014
1 parent 8645b4d commit 7e7148b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2326,7 +2326,7 @@ static ssize_t ocfs2_file_write_iter(struct kiocb *iocb,
count -= written;
written_buffered = generic_perform_write(file, from, *ppos);
/*
* If generic_file_buffered_write() retuned a synchronous error
* If generic_file_buffered_write() returned a synchronous error
* then we want to return the number of bytes which were
* direct-written, or the error code if that was zero. Note
* that this differs from normal direct-io semantics, which
Expand Down

0 comments on commit 7e7148b

Please sign in to comment.