From cd1c584f380183aca268d454c14b22d8454eac4f Mon Sep 17 00:00:00 2001 From: Edward Shishkin Date: Tue, 26 Oct 2010 14:22:28 -0700 Subject: [PATCH] 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 Reviewed-by: Christoph Hellwig Acked-by: Jeff Moyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed