diff options
author | Anna Sztukowska <anna.sztukowska@intel.com> | 2024-09-03 13:01:04 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-09-27 11:09:11 +0200 |
commit | 344690313ae4e66f760b14afafda663ec750dfe0 (patch) | |
tree | 550fe5257c6981a706f880a5e136c1374411bb81 /sysfs.c | |
parent | sysfs: add function for writing to sysfs fd (diff) | |
download | mdadm-344690313ae4e66f760b14afafda663ec750dfe0.tar.xz mdadm-344690313ae4e66f760b14afafda663ec750dfe0.zip |
Mdmonitor: Fix startup with missing directory
Commit 0a07dea8d3b78 ("Mdmonitor: Refactor check_one_sharer() for
better error handling") introduced an issue, if directory /run/mdadm
is missing, monitor fails to start. Move the directory creation
earlier to ensure it is always created.
Signed-off-by: Anna Sztukowska <anna.sztukowska@intel.com>
Diffstat (limited to 'sysfs.c')
0 files changed, 0 insertions, 0 deletions