retire the APIs that driver no longer supports
refer to commit: e6e5f8f126
("Build: Stop
bothering about supporting md driver ...")
continue to retire the APIs that md driver
wasn't supported for very long period of time.
Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
parent
84918897ee
commit
e644902ddb
4
Build.c
4
Build.c
|
@ -24,10 +24,6 @@
|
||||||
|
|
||||||
#include "mdadm.h"
|
#include "mdadm.h"
|
||||||
|
|
||||||
#define REGISTER_DEV _IO (MD_MAJOR, 1)
|
|
||||||
#define START_MD _IO (MD_MAJOR, 2)
|
|
||||||
#define STOP_MD _IO (MD_MAJOR, 3)
|
|
||||||
|
|
||||||
int Build(char *mddev, struct mddev_dev *devlist,
|
int Build(char *mddev, struct mddev_dev *devlist,
|
||||||
struct shape *s, struct context *c)
|
struct shape *s, struct context *c)
|
||||||
{
|
{
|
||||||
|
|
4
Manage.c
4
Manage.c
|
@ -27,10 +27,6 @@
|
||||||
#include "md_p.h"
|
#include "md_p.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#define REGISTER_DEV _IO (MD_MAJOR, 1)
|
|
||||||
#define START_MD _IO (MD_MAJOR, 2)
|
|
||||||
#define STOP_MD _IO (MD_MAJOR, 3)
|
|
||||||
|
|
||||||
int Manage_ro(char *devname, int fd, int readonly)
|
int Manage_ro(char *devname, int fd, int readonly)
|
||||||
{
|
{
|
||||||
/* switch to readonly or rw
|
/* switch to readonly or rw
|
||||||
|
|
Loading…
Reference in New Issue