diff options
author | Shaohua Li <shli@fb.com> | 2017-09-21 18:55:28 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-09-28 05:08:18 +0200 |
commit | 79bf31a3b2a7ca467cfec8ff97d359a77065d01f (patch) | |
tree | 22d15c13f9a67ccd17b21c3077160b89a66c9c62 /drivers/acpi/resource.c | |
parent | md: separate request handling (diff) | |
download | linux-79bf31a3b2a7ca467cfec8ff97d359a77065d01f.tar.xz linux-79bf31a3b2a7ca467cfec8ff97d359a77065d01f.zip |
md: fix a race condition for flush request handling
md_submit_flush_data calls pers->make_request, which missed the suspend check.
Fix it with the new md_handle_request API.
Reported-by: Nate Dailey <nate.dailey@stratus.com>
Tested-by: Nate Dailey <nate.dailey@stratus.com>
Fix: cc27b0c78c79(md: fix deadlock between mddev_suspend() and md_write_start())
Cc: stable@vger.kernel.org
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/acpi/resource.c')
0 files changed, 0 insertions, 0 deletions