summaryrefslogtreecommitdiff
path: root/arch/mips/pistachio/init.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-01-18 06:00:41 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2020-01-18 06:33:27 +0300
commit19c30f4dd0923ef191f35c652ee4058e91e89056 (patch)
tree6080ded903efebfd2c32c21b3dccb2ab96075f4a /arch/mips/pistachio/init.c
parent430f24f94c8a174d411a550d7b5529301922e67a (diff)
downloadlinux-19c30f4dd0923ef191f35c652ee4058e91e89056.tar.xz
XArray: Fix xa_find_after with multi-index entries
If the entry is of an order which is a multiple of XA_CHUNK_SIZE, the current detection of sibling entries does not work. Factor out an xas_sibling() function to make xa_find_after() a little more understandable, and write a new implementation that doesn't suffer from the same bug. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'arch/mips/pistachio/init.c')
0 files changed, 0 insertions, 0 deletions