]> 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)
commit905aa9668d06c0de484c1e0d60574b2dadb025e5
tree401220cd4851b01ecfb5d9694452413e710896ef
parentaa83cfcd85b1975310d092d00c51e6453cfb8ff4
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