Searched hist:"38 a708d7759476318d0eec64af174513032ec67a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ecryptfs/ |
H A D | file.c | diff 38a708d7759476318d0eec64af174513032ec67a Fri Oct 29 17:11:50 CDT 2010 Edward Shishkin <edward.shishkin@gmail.com> 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 <edward.shishkin@gmail.com> Cc: Jeff Moyer <jmoyer@redhat.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Eric Sandeen <esandeen@redhat.com> Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
|