aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/any-linux-any/linux/raid
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-08-09 13:08:39 -0700
committerGitHub <noreply@github.com>2024-08-09 13:08:39 -0700
commit71a27ebd847bbd09d246eaf6657359ecfa0f8483 (patch)
tree0ca38e8313369e7efc91daa540b0f350c583cffc /lib/libc/include/any-linux-any/linux/raid
parent291fb43f275b368f425380a3028068c7facafabb (diff)
parent10949a691403988137d3bc7dd629c4e95c243ab3 (diff)
downloadzig-71a27ebd847bbd09d246eaf6657359ecfa0f8483.tar.gz
zig-71a27ebd847bbd09d246eaf6657359ecfa0f8483.zip
Merge pull request #21004 from alexrp/linux-6.10
Linux 6.10 headers/syscalls
Diffstat (limited to 'lib/libc/include/any-linux-any/linux/raid')
-rw-r--r--lib/libc/include/any-linux-any/linux/raid/md_p.h8
-rw-r--r--lib/libc/include/any-linux-any/linux/raid/md_u.h11
2 files changed, 3 insertions, 16 deletions
diff --git a/lib/libc/include/any-linux-any/linux/raid/md_p.h b/lib/libc/include/any-linux-any/linux/raid/md_p.h
index 53df9c9656..3b377eedbd 100644
--- a/lib/libc/include/any-linux-any/linux/raid/md_p.h
+++ b/lib/libc/include/any-linux-any/linux/raid/md_p.h
@@ -2,15 +2,11 @@
/*
md_p.h : physical layout of Linux RAID devices
Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
- You should have received a copy of the GNU General Public License
- (for example /usr/src/linux/COPYING); if not, write to the Free
- Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _MD_P_H
@@ -237,7 +233,7 @@ struct mdp_superblock_1 {
char set_name[32]; /* set and interpreted by user-space */
__le64 ctime; /* lo 40 bits are seconds, top 24 are microseconds or 0*/
- __le32 level; /* -4 (multipath), -1 (linear), 0,1,4,5 */
+ __le32 level; /* 0,1,4,5 */
__le32 layout; /* only for raid5 and raid10 currently */
__le64 size; /* used size of component devices, in 512byte sectors */
diff --git a/lib/libc/include/any-linux-any/linux/raid/md_u.h b/lib/libc/include/any-linux-any/linux/raid/md_u.h
index e05d0d0667..caf3d61b3f 100644
--- a/lib/libc/include/any-linux-any/linux/raid/md_u.h
+++ b/lib/libc/include/any-linux-any/linux/raid/md_u.h
@@ -2,15 +2,11 @@
/*
md_u.h : user <=> kernel API between Linux raidtools and RAID drivers
Copyright (C) 1998 Ingo Molnar
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
- You should have received a copy of the GNU General Public License
- (for example /usr/src/linux/COPYING); if not, write to the Free
- Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _MD_U_H
@@ -107,11 +103,6 @@ typedef struct mdu_array_info_s {
} mdu_array_info_t;
-/* non-obvious values for 'level' */
-#define LEVEL_MULTIPATH (-4)
-#define LEVEL_LINEAR (-1)
-#define LEVEL_FAULTY (-5)
-
/* we need a value for 'no level specified' and 0
* means 'raid0', so we need something else. This is
* for internal use only