Commit 116676ca621a862a8124969772f4dd61c8b40eee
Committed by
Philipp Reisner
1 parent
0cf9d27e38
Exists in
master
and in
4 other branches
drbd: Rename enum drbd_ret_codes to enum drbd_ret_code
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Showing 3 changed files with 4 additions and 4 deletions Side-by-side Diff
drivers/block/drbd/drbd_main.c
... | ... | @@ -3570,7 +3570,7 @@ |
3570 | 3570 | * @mdev: DRBD device. |
3571 | 3571 | * @bdev: Device from which the meta data should be read in. |
3572 | 3572 | * |
3573 | - * Return 0 (NO_ERROR) on success, and an enum drbd_ret_codes in case | |
3573 | + * Return 0 (NO_ERROR) on success, and an enum drbd_ret_code in case | |
3574 | 3574 | * something goes wrong. Currently only: ERR_IO_MD_DISK, ERR_MD_INVALID. |
3575 | 3575 | */ |
3576 | 3576 | int drbd_md_read(struct drbd_conf *mdev, struct drbd_backing_dev *bdev) |
drivers/block/drbd/drbd_nl.c
... | ... | @@ -849,7 +849,7 @@ |
849 | 849 | static int drbd_nl_disk_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, |
850 | 850 | struct drbd_nl_cfg_reply *reply) |
851 | 851 | { |
852 | - enum drbd_ret_codes retcode; | |
852 | + enum drbd_ret_code retcode; | |
853 | 853 | enum determine_dev_size dd; |
854 | 854 | sector_t max_possible_sectors; |
855 | 855 | sector_t min_md_device_sectors; |
... | ... | @@ -1278,7 +1278,7 @@ |
1278 | 1278 | struct drbd_nl_cfg_reply *reply) |
1279 | 1279 | { |
1280 | 1280 | int i, ns; |
1281 | - enum drbd_ret_codes retcode; | |
1281 | + enum drbd_ret_code retcode; | |
1282 | 1282 | struct net_conf *new_conf = NULL; |
1283 | 1283 | struct crypto_hash *tfm = NULL; |
1284 | 1284 | struct crypto_hash *integrity_w_tfm = NULL; |
include/linux/drbd.h