xref: /openbmc/linux/drivers/md/md-cluster.h (revision edb39c9d)
1edb39c9dSGoldwyn Rodrigues 
2edb39c9dSGoldwyn Rodrigues 
3edb39c9dSGoldwyn Rodrigues #ifndef _MD_CLUSTER_H
4edb39c9dSGoldwyn Rodrigues #define _MD_CLUSTER_H
5edb39c9dSGoldwyn Rodrigues 
6edb39c9dSGoldwyn Rodrigues #include "md.h"
7edb39c9dSGoldwyn Rodrigues 
8edb39c9dSGoldwyn Rodrigues struct mddev;
9edb39c9dSGoldwyn Rodrigues 
10edb39c9dSGoldwyn Rodrigues struct md_cluster_operations {
11edb39c9dSGoldwyn Rodrigues 	int (*join)(struct mddev *mddev);
12edb39c9dSGoldwyn Rodrigues 	int (*leave)(struct mddev *mddev);
13edb39c9dSGoldwyn Rodrigues };
14edb39c9dSGoldwyn Rodrigues 
15edb39c9dSGoldwyn Rodrigues #endif /* _MD_CLUSTER_H */
16