mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 13:16:22 +00:00
edb39c9ded
This allows dynamic registering of cluster hooks. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
16 lines
212 B
C
16 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 */
|