]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: Change type of d_name to bytes array 27531/head
authorVarsha Rao <varao@redhat.com>
Thu, 11 Apr 2019 07:07:46 +0000 (12:37 +0530)
committerNathan Cutler <ncutler@suse.com>
Thu, 11 Apr 2019 17:46:19 +0000 (19:46 +0200)
commite1dcdd0be4a7d35e41945ad2cb0829d0a6442354
tree5e88d66ea26be7829642c4904b79fdb0da77e94e
parentf79aacb9f689fb744782dcba0d5694613f3fabf5
cephfs-shell: Change type of d_name to bytes array

By reverting commit 5106582 'd_name' is always a bytes array. This produces
type error wherever 'd_name' is used with 'str' type. In such cases decode it.

Fixes: https://tracker.ceph.com/issues/39060
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit d0db22a6a51d34433fa4a2d3a423373a5684f75d)
src/tools/cephfs/cephfs-shell