diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-10-04 19:04:24 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-10-12 15:29:27 +0200 |
commit | c403c3a2fbe24d4ed33e10cabad048583ebd4edf (patch) | |
tree | 1d22520413acdff139a005d4098e9afb7bffd0fd /fs/exportfs | |
parent | 7edf1ec5b249cb7f9b85b7257f638026fd1a5d2b (diff) |
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 'fs/exportfs')
0 files changed, 0 insertions, 0 deletions