diff options
author | Edward Shishkin <edward.shishkin@gmail.com> | 2010-10-26 21:22:28 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 23:52:13 (GMT) |
commit | cd1c584f380183aca268d454c14b22d8454eac4f (patch) | |
tree | 7722f634ecfcaead2b76ea8e483f3c6d2bd184c4 /lib/sha1.c | |
parent | 2473238eac95ba6dd2c4ba19cc36aaf01465076b (diff) | |
download | linux-cd1c584f380183aca268d454c14b22d8454eac4f.tar.xz |
fs/direct-io.c: fix truncation error in dio_complete() return
Fix up truncation (ssize_t->int). This only matters with >2G
reads/writes, which the kernel doesn't permit.
Signed-off-by: Edward Shishkin <edward@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions