]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ceph/decode.h
ceph: include type in ceph_entity_addr, filepath
[mirror_ubuntu-bionic-kernel.git] / fs / ceph / decode.h
index 10de84896244b1ecd7720d6fee10831d06ab2545..b90a33b948c7313cb5493e93df2798c079367cce 100644 (file)
@@ -138,6 +138,7 @@ static inline void ceph_encode_filepath(void **p, void *end,
 {
        u32 len = path ? strlen(path) : 0;
        BUG_ON(*p + sizeof(ino) + sizeof(len) + len > end);
+       ceph_encode_8(p, 1);
        ceph_encode_64(p, ino);
        ceph_encode_32(p, len);
        if (len)