]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: move sum_extents calculations to merge_extents()
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Mon, 29 May 2023 13:52:33 +0000 (15:52 +0200)
committerJes Sorensen <jes@trained-monkey.org>
Fri, 1 Sep 2023 15:36:45 +0000 (11:36 -0400)
commit9bc426fa1f236b8cad518431574a54fc60718739
treeb3931d82288cd9be04a830c5c5a15adc55e883b0
parentcf1577bf54afe76b77ecaa62df25901739ca8ae9
imsm: move sum_extents calculations to merge_extents()

This logic is only used by merge_extents() code, there is no need to pass
it as parameter. Move it up. Add proper description.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
super-intel.c