summaryrefslogtreecommitdiff
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-10-13 15:46:29 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2020-10-13 15:53:29 +0300
commit84c34df158cf215b0cd1475ab3b8e6f212f81f23 (patch)
tree744410b0a8b2a36fa895e0e1033bb7ec93c1cbd8 /lib/test_xarray.c
parentf78b8250a076ac63ddd021c7ea9739bcc2f6f737 (diff)
downloadlinux-84c34df158cf215b0cd1475ab3b8e6f212f81f23.tar.xz
XArray: Fix xas_create_range for ranges above 4 billion
The 'sibs' variable would be shifted as a 32-bit integer, so if 'shift' is more than 32, this is undefined behaviour. In practice, this doesn't happen because the page cache is the only user and nobody uses 16TB pages. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions