re: rbd: enforce parent overlap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alex Elder,

This is a semi-automatic email about new static checker warnings.

The patch 64548e0638af: "rbd: enforce parent overlap" from Apr 21,
2013, leads to the following Smatch complaint:

drivers/block/rbd.c:1449 rbd_osd_read_callback()
	 error: we previously assumed 'img_request' could be null (see line 1448)

drivers/block/rbd.c
  1447			img_request = obj_request->img_request;
  1448			layered = img_request && img_request_layered_test(img_request);
                                  ^^^^^^^^^^^
Old check.
  1449			rbd_dev = img_request->rbd_dev;
                                  ^^^^^^^^^^^^^^^^^^^^
New dereference.

  1450		}
  1451	

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux