diff options
author | 2024-02-26 11:14:43 +0800 | |
---|---|---|
committer | 2024-02-26 10:22:22 -0800 | |
commit | 650b2e69ff6ab4de8d895e933f2b6fbacb1f8411 (patch) | |
tree | 90f371bf2a73f0bc5b3e8902ff3f8199539e6c4f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | md: sync blockdev before stopping raid or setting readonly (diff) | |
download | wireguard-linux-650b2e69ff6ab4de8d895e933f2b6fbacb1f8411.tar.xz wireguard-linux-650b2e69ff6ab4de8d895e933f2b6fbacb1f8411.zip |
md: clean up openers check in do_md_stop() and md_set_readonly()
Before stopping or setting readonly, mddev_set_closing_and_sync_blockdev()
is always called to check the openers. So no longer need to check it again
in do_md_stop() and md_set_readonly(). Clean it up.
Signed-off-by: Li Nan <linan122@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240226031444.3606764-9-linan666@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions