commit | 77f6bf57ba9d2c50173536dbfdacdab27cb867ca | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@linux-foundation.org> | Thu May 14 09:49:44 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu May 14 09:49:44 2009 +0200 |
tree | 09cfb70eb20081d7fc5af21039e3fda7f0b95f84 | |
parent | 4f23122858a27ba97444b9b37a066d83edebd4c8 [diff] |
splice: fix error return code fs/splice.c: In function 'default_file_splice_read': fs/splice.c:566: warning: 'error' may be used uninitialized in this function which is sort-of true. The code will in fact return -ENOMEM instead of the kernel_readv() return value. Cc: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>