linux-stable/drivers/md/md-cluster.h
Goldwyn Rodrigues edb39c9ded Introduce md_cluster_operations to handle cluster functions
This allows dynamic registering of cluster hooks.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
2015-02-23 07:28:42 -06:00

15 lines
212 B
C

#ifndef _MD_CLUSTER_H
#define _MD_CLUSTER_H
#include "md.h"
struct mddev;
struct md_cluster_operations {
int (*join)(struct mddev *mddev);
int (*leave)(struct mddev *mddev);
};
#endif /* _MD_CLUSTER_H */