diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-22 20:07:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-22 20:07:56 -0400 |
commit | 04cc69768e7d1f40d98b79d23d203674553b4da2 (patch) | |
tree | f4cdfae416f7d63f2dc7a2dc2d4ed94250ea3de1 | |
parent | a2887097f25cd38cadfc11d10769e2b349fb5eca (diff) | |
parent | e5953cbdff26f7cbae7eff30cd9b18c4e19b7594 (diff) |
Merge branch 'for-2.6.37/misc' of git://git.kernel.dk/linux-2.6-block
* 'for-2.6.37/misc' of git://git.kernel.dk/linux-2.6-block:
pipe: fix failure to return error code on ->confirm()
-rw-r--r-- | fs/pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -382,7 +382,7 @@ pipe_read(struct kiocb *iocb, const struct iovec *_iov, | |||
382 | error = ops->confirm(pipe, buf); | 382 | error = ops->confirm(pipe, buf); |
383 | if (error) { | 383 | if (error) { |
384 | if (!ret) | 384 | if (!ret) |
385 | error = ret; | 385 | ret = error; |
386 | break; | 386 | break; |
387 | } | 387 | } |
388 | 388 | ||