]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc167a7b727ab85e3f2b0cedfc42f9c1f7d890c8
treee125224c51ccab31358311660a79f176175edf2f
parentea6f6b23fa94abcd1a8031839fd52f5eb19211b6
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