]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Client: bump ll_ref from int32 to uint64_t 29136/head
authorXiaoxi CHEN <xiaoxchen@ebay.com>
Fri, 19 Jul 2019 15:31:24 +0000 (08:31 -0700)
committerXiaoxi CHEN <xiaoxchen@ebay.com>
Fri, 19 Jul 2019 15:31:24 +0000 (08:31 -0700)
commitbb46de885336a8cd2adc9c0507e543c6832346e7
treec6dc2d5be59b978a19e0cf027f73905d2dececd2
parentcc86d9e4a09e7ad446ccd6873e7b7e119fa4b12c
Client: bump ll_ref from int32 to uint64_t

ll_ref can surge up if application repeatly lookup same dentry
and finally cause overflow.

https://tracker.ceph.com/issues/40775 is an example.

in kernel fuse driver and libfuse, uint64_t is used, update
ceph-fuse side to match.

Fixes: https://tracker.ceph.com/issues/40775
Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
src/client/Client.cc
src/client/Client.h
src/client/Inode.h