• Ilya Dryomov's avatar
    libceph: use %s instead of %pE in dout()s · 4a3262b1
    Ilya Dryomov authored
    Commit d30291b9 ("libceph: variable-sized ceph_object_id") changed
    dout()s in what is now encode_request() and ceph_object_locator_to_pg()
    to use %pE, mostly to document that, although all rbd and cephfs object
    names are NULL-terminated strings, ceph_object_id will handle any RADOS
    object name, including the one containing NULs, just fine.
    
    However, it turns out that vbin_printf() can't handle anything but ints
    and %s - all %p suffixes are ignored.  The buffer %p** points to isn't
    recorded, resulting in trash in the messages if the buffer had been
    reused by the time bstr_printf() got to it.
    Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
    4a3262b1
Name
Last commit
Last update
..
crush Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
armor.c Loading commit data...
auth.c Loading commit data...
auth_none.c Loading commit data...
auth_none.h Loading commit data...
auth_x.c Loading commit data...
auth_x.h Loading commit data...
auth_x_protocol.h Loading commit data...
buffer.c Loading commit data...
ceph_common.c Loading commit data...
ceph_fs.c Loading commit data...
ceph_hash.c Loading commit data...
ceph_strings.c Loading commit data...
crypto.c Loading commit data...
crypto.h Loading commit data...
debugfs.c Loading commit data...
messenger.c Loading commit data...
mon_client.c Loading commit data...
msgpool.c Loading commit data...
osd_client.c Loading commit data...
osdmap.c Loading commit data...
pagelist.c Loading commit data...
pagevec.c Loading commit data...
snapshot.c Loading commit data...