Skip to content

Commit

Permalink
Merge branch 'for-2.6.37/misc' of git://git.kernel.dk/linux-2.6-block
Browse files Browse the repository at this point in the history
* 'for-2.6.37/misc' of git://git.kernel.dk/linux-2.6-block:
  pipe: fix failure to return error code on ->confirm()
  • Loading branch information
torvalds committed Oct 23, 2010
2 parents a288709 + e5953cb commit 04cc697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ pipe_read(struct kiocb *iocb, const struct iovec *_iov,
error = ops->confirm(pipe, buf);
if (error) {
if (!ret)
error = ret;
ret = error;
break;
}

Expand Down

0 comments on commit 04cc697

Please sign in to comment.