]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: dev-replace: move replace members out of fs_info
authorDavid Sterba <dsterba@suse.com>
Wed, 4 Apr 2018 23:04:49 +0000 (01:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:38 +0000 (17:23 +0200)
commit17495bf7571d91263836b027b67e779d654f1c32
tree63bf1e2dd346ebefa152cc911919eb9f47254e33
parentbb96d749c72869a89400a75e39143311bdddd148
btrfs: dev-replace: move replace members out of fs_info

The replace_wait and bio_counter were mistakenly added to fs_info in
commit c89fb12d36e16d27a5 ("Btrfs: fix use-after-free in the finishing
procedure of the device replace"), but they logically belong to
fs_info::dev_replace. Besides, bio_counter is a very generic name and is
confusing in bare fs_info context.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/dev-replace.c
fs/btrfs/disk-io.c