summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/ecryptfs_kernel.h
diff options
context:
space:
mode:
authorEdward Shishkin <edward.shishkin@gmail.com>2010-10-30 02:11:50 +0400
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2011-01-17 19:44:30 +0300
commit38a708d7759476318d0eec64af174513032ec67a (patch)
treee3cd94359191e72c26ea6a0ecc37c1933b9dcc71 /fs/ecryptfs/ecryptfs_kernel.h
parente78bf5e6cbe837daa6ab628a5f679548742994d3 (diff)
downloadlinux-38a708d7759476318d0eec64af174513032ec67a.tar.xz
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>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions