summaryrefslogtreecommitdiff
path: root/drivers/block/rbd.c
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2013-12-13 17:28:56 +0400
committerIlya Dryomov <ilya.dryomov@inktank.com>2013-12-31 22:31:53 +0400
commit70eebd200696aea897bfb596053d0c688ec1894b (patch)
tree06f1cd4934a9d6281cb432cb99f34e9fc8efe714 /drivers/block/rbd.c
parent9a1ea2dbff11547a8e664f143c1ffefc586a577a (diff)
downloadlinux-70eebd200696aea897bfb596053d0c688ec1894b.tar.xz
rbd: rbd_device::dev_id is an int, format it as such
rbd_device::dev_id is an int, format it as such. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block/rbd.c')
-rw-r--r--drivers/block/rbd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index cb1db2979d3d..60536e446d69 100644
--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -4385,8 +4385,7 @@ static void rbd_dev_id_get(struct rbd_device *rbd_dev)
spin_lock(&rbd_dev_list_lock);
list_add_tail(&rbd_dev->node, &rbd_dev_list);
spin_unlock(&rbd_dev_list_lock);
- dout("rbd_dev %p given dev id %llu\n", rbd_dev,
- (unsigned long long) rbd_dev->dev_id);
+ dout("rbd_dev %p given dev id %d\n", rbd_dev, rbd_dev->dev_id);
}
/*
@@ -4401,8 +4400,7 @@ static void rbd_dev_id_put(struct rbd_device *rbd_dev)
rbd_assert(rbd_id > 0);
- dout("rbd_dev %p released dev id %llu\n", rbd_dev,
- (unsigned long long) rbd_dev->dev_id);
+ dout("rbd_dev %p released dev id %d\n", rbd_dev, rbd_dev->dev_id);
spin_lock(&rbd_dev_list_lock);
list_del_init(&rbd_dev->node);