]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/OSD.cc cast osd_max_write_size to int64_t 5916/head
authorXiaoxi Chen <xiaoxi.chen@intel.com>
Mon, 14 Sep 2015 08:53:01 +0000 (16:53 +0800)
committerXiaoxi Chen <xiaoxi.chen@intel.com>
Tue, 15 Sep 2015 01:33:35 +0000 (09:33 +0800)
commit7250fb18fbe8c1c7757f490c63246e3d75a98421
tree5d183a18bfdc3327b677dc24e9efee22e57a0927
parent27d1e4d41e0a345dce96ecab620fefb1c900acca
os/OSD.cc cast osd_max_write_size to int64_t

Otherwise overflow may occur and negative values generated.

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
src/osd/OSD.cc