diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2010-12-07 18:39:32 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:36:19 -0500 |
commit | bf885f8a6772fb48409dd505a09d974a5e621f22 (patch) | |
tree | 28205a11a192a14192bac3f8487b444e6d533955 /drivers/block/drbd/drbd_receiver.c | |
parent | c8b325632f0e5ffdaeca3d1f3be77c9399316a40 (diff) |
drbd: Be more explicit about functions that return an 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_receiver.c')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index d34d093278c7..c116cbdc9dca 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c | |||
@@ -3112,7 +3112,7 @@ static int receive_req_state(struct drbd_conf *mdev, enum drbd_packets cmd, unsi | |||
3112 | { | 3112 | { |
3113 | struct p_req_state *p = &mdev->data.rbuf.req_state; | 3113 | struct p_req_state *p = &mdev->data.rbuf.req_state; |
3114 | union drbd_state mask, val; | 3114 | union drbd_state mask, val; |
3115 | int rv; | 3115 | enum drbd_state_rv rv; |
3116 | 3116 | ||
3117 | mask.i = be32_to_cpu(p->mask); | 3117 | mask.i = be32_to_cpu(p->mask); |
3118 | val.i = be32_to_cpu(p->val); | 3118 | val.i = be32_to_cpu(p->val); |