]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: read number of data stripes from map only once
authorDavid Sterba <dsterba@suse.com>
Fri, 17 May 2019 09:43:45 +0000 (11:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:58 +0000 (13:34 +0200)
commite997aedc3f13fc3242b59dbd16b894c38ce54f38
tree401220cd4851b01ecfb5d9694452413e710896ef
parent4b98d4940eeb6e500cc9411795c60ca97bf1e65e
btrfs: read number of data stripes from map only once

There are several places that call nr_data_stripes, but this value does
not change.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c
fs/btrfs/volumes.c