summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-10-04 21:04:24 +0300
committerIlya Dryomov <idryomov@gmail.com>2020-10-12 16:29:27 +0300
commitc403c3a2fbe24d4ed33e10cabad048583ebd4edf (patch)
tree1d22520413acdff139a005d4098e9afb7bffd0fd /arch
parent7edf1ec5b249cb7f9b85b7257f638026fd1a5d2b (diff)
downloadlinux-c403c3a2fbe24d4ed33e10cabad048583ebd4edf.tar.xz
ceph: promote to unsigned long long before shifting
On 32-bit systems, this shift will overflow for files larger than 4GB. Cc: stable@vger.kernel.org Fixes: 61f68816211e ("ceph: check caps in filemap_fault and page_mkwrite") Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions