]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librgw: use string_ref remove_prefix
authorMatt Benjamin <mbenjamin@redhat.com>
Sun, 20 Dec 2015 04:35:47 +0000 (23:35 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:07:07 +0000 (12:07 -0500)
commite448c4eb7fcd0700143aff4c69a34692e8b0072e
tree353e423ccaef2a86bfdec75d8d48778c28d39e49
parent8db2c6a9693d2385dd725a1519b2278b0229983f
librgw: use string_ref remove_prefix

Save a few cycles over re-assigning a string_ref suffix substring
to itself.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h