From: Edward Shishkin Date: Fri, 29 Oct 2010 22:11:50 +0000 (+0200) Subject: ecryptfs: fix truncation error in ecryptfs_read_update_atime X-Git-Tag: v2.6.38-rc1~17^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38a708d7759476318d0eec64af174513032ec67a;p=pandora-kernel.git ecryptfs: fix truncation error in ecryptfs_read_update_atime This is similar to the bug found in direct-io not so long ago. Fix up truncation (ssize_t->int). This only matters with >2G reads/writes, which the kernel doesn't permit. Signed-off-by: Edward Shishkin Cc: Jeff Moyer Cc: Christoph Hellwig Cc: Eric Sandeen Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed