Merging upstream version 4.2+20230508.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
8119c4e7dc
commit
8f10cd7248
27 changed files with 335 additions and 232 deletions
2
sysfs.c
2
sysfs.c
|
@ -1114,7 +1114,7 @@ void sysfsline(char *line)
|
|||
if (strncasecmp(w, "name=", 5) == 0) {
|
||||
char *devname = w + 5;
|
||||
|
||||
if (strncmp(devname, "/dev/md/", 8) == 0) {
|
||||
if (strncmp(devname, DEV_MD_DIR, DEV_MD_DIR_LEN) == 0) {
|
||||
if (sr->devname)
|
||||
pr_err("Only give one device per SYSFS line: %s\n",
|
||||
devname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue