diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2010-12-07 19:06:16 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:36:18 -0500 |
commit | c8b325632f0e5ffdaeca3d1f3be77c9399316a40 (patch) | |
tree | 3b86d7a6a9b180e05a78c89d9a83ca1b93aa5cbe /drivers/block/drbd/drbd_strings.c | |
parent | 116676ca621a862a8124969772f4dd61c8b40eee (diff) |
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 'drivers/block/drbd/drbd_strings.c')
-rw-r--r-- | drivers/block/drbd/drbd_strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_strings.c b/drivers/block/drbd/drbd_strings.c index 5b970adc3b6f..c44a2a602772 100644 --- a/drivers/block/drbd/drbd_strings.c +++ b/drivers/block/drbd/drbd_strings.c | |||
@@ -107,7 +107,7 @@ const char *drbd_disk_str(enum drbd_disk_state s) | |||
107 | return s > D_UP_TO_DATE ? "TOO_LARGE" : drbd_disk_s_names[s]; | 107 | return s > D_UP_TO_DATE ? "TOO_LARGE" : drbd_disk_s_names[s]; |
108 | } | 108 | } |
109 | 109 | ||
110 | const char *drbd_set_st_err_str(enum drbd_state_ret_codes err) | 110 | const char *drbd_set_st_err_str(enum drbd_state_rv err) |
111 | { | 111 | { |
112 | return err <= SS_AFTER_LAST_ERROR ? "TOO_SMALL" : | 112 | return err <= SS_AFTER_LAST_ERROR ? "TOO_SMALL" : |
113 | err > SS_TWO_PRIMARIES ? "TOO_LARGE" | 113 | err > SS_TWO_PRIMARIES ? "TOO_LARGE" |