rbd: use rbd_dev consistently
authorAlex Elder <elder@inktank.com>
Tue, 3 Jul 2012 21:01:18 +0000 (16:01 -0500)
committerSage Weil <sage@inktank.com>
Mon, 30 Jul 2012 16:30:05 +0000 (09:30 -0700)
commit0ce1a7941341cc63c8352b7df50020e5485bc43a
tree13ab8af0ed5f4e7a7625e1d9e9e4795f5d6628c5
parent820a5f3e94b9f8ea8c0c6125ce34b237ed67b1dc
rbd: use rbd_dev consistently

Most variables that represent a struct rbd_device are named
"rbd_dev", but in some cases "dev" is used instead.  Change all the
"dev" references so they use "rbd_dev" consistently, to make it
clear from the name that we're working with an RBD device (as
opposed to, for example, a struct device).  Similarly, change the
name of the "dev" field in struct rbd_notify_info to be "rbd_dev".

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c