projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b721e78
)
md-bitmap: remove the checking of 'pers->quiesce' from location_store()
author
Yu Kuai
<yukuai3@huawei.com>
Fri, 25 Aug 2023 03:09:53 +0000
(11:09 +0800)
committer
Song Liu
<song@kernel.org>
Fri, 22 Sep 2023 17:28:27 +0000
(10:28 -0700)
After commit
4d27e927344a
("md: don't quiesce in mddev_suspend()"),
there is no need to check 'pers->quiesce' before calling
mddev_suspend().
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link:
https://lore.kernel.org/r/20230825030956.1527023-5-yukuai1@huaweicloud.com
drivers/md/md-bitmap.c
patch
|
blob
|
history
diff --git
a/drivers/md/md-bitmap.c
b/drivers/md/md-bitmap.c
index 6f9ff14971f982987af990af9574d247f3555f0a..f38c7f3156cbe5c363170703df379f44ed774925 100644
(file)
--- a/
drivers/md/md-bitmap.c
+++ b/
drivers/md/md-bitmap.c
@@
-2352,10
+2352,6
@@
location_store(struct mddev *mddev, const char *buf, size_t len)
if (rv)
return rv;
if (mddev->pers) {
- if (!mddev->pers->quiesce) {
- rv = -EBUSY;
- goto out;
- }
if (mddev->recovery || mddev->sync_thread) {
rv = -EBUSY;
goto out;