a bug of rgw?

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

 



hello, every one:

    when I read the source code of ceph of which the version is
0.80.1. I found that line 1646 in rgw_main.cc wrote as following:

    uint64_t total_time =  entry.total_time.sec() * 1000000LL
*entry.total_time.usec();

    I did not understand the meaning of this line of code. I think the
second operation symbol of  “*”  should be changed to
"+". so this line should be "uint64_t total_time =
entry.total_time.sec() * 1000000LL + entry.total_time.usec(); ".

    Is it a bug?
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux