diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2023-09-28 15:55:17 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-09-28 23:34:57 +0300 |
commit | 09f894affcf2daac5aa841ffff43d1242215fd80 (patch) | |
tree | 8ab5528b8db5f11eac82902ec879e8ee88ae1984 /drivers/spi | |
parent | cf1b6d4441fffd0ba8ae4ced6a12f578c95ca049 (diff) | |
download | linux-09f894affcf2daac5aa841ffff43d1242215fd80.tar.xz |
md: do not require mddev_lock() for all options in array_state_store()
We don't need to lock device to reject not supported request
in array_state_store(). No functional changes intended.
There are differences between ioctl and sysfs handling during stopping.
With this change, it will be easier to add additional steps which needs
to be completed before mddev_lock() is taken.
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230928125517.12356-1-mariusz.tkaczyk@linux.intel.com
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions