summaryrefslogtreecommitdiffstats
path: root/net/mac802154
diff options
context:
space:
mode:
authorAnand Jain2018-11-11 15:22:17 +0100
committerDavid Sterba2018-12-17 14:51:34 +0100
commit0d228ece59a35a9b9e8ff0d40653234a6d90f61e (patch)
treeff4c346efc59107237e2da8acedd312fb884714c /net/mac802154
parentbtrfs: mark btrfs_dev_replace_start as static (diff)
downloadkernel-qcow2-linux-0d228ece59a35a9b9e8ff0d40653234a6d90f61e.tar.gz
kernel-qcow2-linux-0d228ece59a35a9b9e8ff0d40653234a6d90f61e.tar.xz
kernel-qcow2-linux-0d228ece59a35a9b9e8ff0d40653234a6d90f61e.zip
btrfs: dev-replace: go back to suspended state if target device is missing
At the time of forced unmount we place the running replace to BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED state, so when the system comes back and expect the target device is missing. Then let the replace state continue to be in BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED state instead of BTRFS_IOCTL_DEV_REPLACE_STATE_STARTED as there isn't any matching scrub running as part of replace. Fixes: e93c89c1aaaa ("Btrfs: add new sources for device replace code") CC: stable@vger.kernel.org # 4.4+ Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/mac802154')
0 files changed, 0 insertions, 0 deletions