summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_eh.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-10-04 21:04:22 +0300
committerDominique Martinet <asmadeus@codewreck.org>2020-10-08 00:57:30 +0300
commitf5f7ab168b9a60e12a4b8f2bb6fcc91321dc23c1 (patch)
tree4b45d50fabc82567e0d5aaadec5d085bca747841 /include/scsi/scsi_eh.h
parent549738f15da0e5a00275977623be199fbbf7df50 (diff)
downloadlinux-f5f7ab168b9a60e12a4b8f2bb6fcc91321dc23c1.tar.xz
9P: Cast to loff_t before multiplying
On 32-bit systems, this multiplication will overflow for files larger than 4GB. Link: http://lkml.kernel.org/r/20201004180428.14494-2-willy@infradead.org Cc: stable@vger.kernel.org Fixes: fb89b45cdfdc ("9P: introduction of a new cache=mmap model.") Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'include/scsi/scsi_eh.h')
0 files changed, 0 insertions, 0 deletions