diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-06-29 09:50:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-02 15:36:02 +0300 |
commit | dc2a633ccb608a1a8109ad0d488c98cc776bef72 (patch) | |
tree | 36d2a7f3dd37af97f83211f31ce563a9e741d3e7 /mm/zpool.c | |
parent | 63160c0a7f1df4420607c27793db0bc5f67ef95f (diff) | |
download | linux-dc2a633ccb608a1a8109ad0d488c98cc776bef72.tar.xz |
devres: move the size check from alloc_dr() into a separate function
We will perform the same size check in devm_krealloc(). Move the relevant
code into a separate helper.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200629065008.27620-3-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/zpool.c')
0 files changed, 0 insertions, 0 deletions