XArray: Optimise xas_sibling() if !CONFIG_XARRAY_MULTI
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 27 Feb 2020 12:37:40 +0000 (07:37 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 27 Feb 2020 12:37:40 +0000 (07:37 -0500)
commitd8e93e3f22d9fd2e6a3ccae3623c3af8789ccfc0
treee125224c51ccab31358311660a79f176175edf2f
parent3a00e7c47c382b30524e78b36ab047c16b8fcfef
XArray: Optimise xas_sibling() if !CONFIG_XARRAY_MULTI

If CONFIG_XARRAY_MULTI is disabled, then xas_sibling() must be false.

Reported-by: JaeJoon Jung <rgbi3307@gmail.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
lib/xarray.c