aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/rbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index fe7a9e15b6f2..eed58e99e18d 100644
--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -1169,7 +1169,6 @@ static int rbd_req_read(struct request *rq,
1169 * Request sync osd read 1169 * Request sync osd read
1170 */ 1170 */
1171static int rbd_req_sync_read(struct rbd_device *rbd_dev, 1171static int rbd_req_sync_read(struct rbd_device *rbd_dev,
1172 struct ceph_snap_context *snapc,
1173 u64 snapid, 1172 u64 snapid,
1174 const char *object_name, 1173 const char *object_name,
1175 u64 ofs, u64 len, 1174 u64 ofs, u64 len,
@@ -1619,7 +1618,7 @@ static int rbd_read_header(struct rbd_device *rbd_dev,
1619 return -ENOMEM; 1618 return -ENOMEM;
1620 1619
1621 rc = rbd_req_sync_read(rbd_dev, 1620 rc = rbd_req_sync_read(rbd_dev,
1622 NULL, CEPH_NOSNAP, 1621 CEPH_NOSNAP,
1623 rbd_dev->header_name, 1622 rbd_dev->header_name,
1624 0, len, 1623 0, len,
1625 (char *)dh, &ver); 1624 (char *)dh, &ver);