Loading drivers/block/rbd.c +1 −1 Original line number Diff line number Diff line Loading @@ -499,7 +499,7 @@ static int rbd_header_from_disk(struct rbd_image_header *header, / sizeof (*ondisk)) return -EINVAL; header->snapc = kmalloc(sizeof(struct ceph_snap_context) + snap_count * sizeof (*ondisk), snap_count * sizeof(u64), gfp_flags); if (!header->snapc) return -ENOMEM; Loading Loading
drivers/block/rbd.c +1 −1 Original line number Diff line number Diff line Loading @@ -499,7 +499,7 @@ static int rbd_header_from_disk(struct rbd_image_header *header, / sizeof (*ondisk)) return -EINVAL; header->snapc = kmalloc(sizeof(struct ceph_snap_context) + snap_count * sizeof (*ondisk), snap_count * sizeof(u64), gfp_flags); if (!header->snapc) return -ENOMEM; Loading