summaryrefslogtreecommitdiffstats
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2010-12-08 01:06:16 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-03-10 11:36:18 +0100
commitc8b325632f0e5ffdaeca3d1f3be77c9399316a40 (patch)
tree3b86d7a6a9b180e05a78c89d9a83ca1b93aa5cbe /include/linux/drbd.h
parent116676ca621a862a8124969772f4dd61c8b40eee (diff)
downloadlinux-stable-c8b325632f0e5ffdaeca3d1f3be77c9399316a40.tar.gz
linux-stable-c8b325632f0e5ffdaeca3d1f3be77c9399316a40.tar.bz2
linux-stable-c8b325632f0e5ffdaeca3d1f3be77c9399316a40.zip
drbd: Rename enum drbd_state_ret_codes to enum drbd_state_rv
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd.h')
-rw-r--r--include/linux/drbd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h
index d92f989036c9..d10431fab004 100644
--- a/include/linux/drbd.h
+++ b/include/linux/drbd.h
@@ -270,7 +270,7 @@ union drbd_state {
unsigned int i;
};
-enum drbd_state_ret_codes {
+enum drbd_state_rv {
SS_CW_NO_NEED = 4,
SS_CW_SUCCESS = 3,
SS_NOTHING_TO_DO = 2,
@@ -301,7 +301,7 @@ enum drbd_state_ret_codes {
extern const char *drbd_conn_str(enum drbd_conns);
extern const char *drbd_role_str(enum drbd_role);
extern const char *drbd_disk_str(enum drbd_disk_state);
-extern const char *drbd_set_st_err_str(enum drbd_state_ret_codes);
+extern const char *drbd_set_st_err_str(enum drbd_state_rv);
#define SHARED_SECRET_MAX 64