]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/cephfs: DT_REG and DT_LNK values are wrong 40770/head
authorVarsha Rao <varao@redhat.com>
Wed, 24 Feb 2021 11:16:47 +0000 (16:46 +0530)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Apr 2021 21:12:23 +0000 (23:12 +0200)
commit37e568b0381fed326fe1c0f545acf3b654fb7d0d
tree87e968d9e569aa824165735f99470ff62bf42a80
parent1976598f645ad1935a5e428219713b8856796d83
pybind/cephfs: DT_REG and DT_LNK values are wrong

DT_REG and DT_LNK don't match with values defined in
/usr/include/dirent.h

define DT_REG 8
define DT_LNK 10

This patch corrects them.

Fixes: https://tracker.ceph.com/issues/49459
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 91e2275f4cd6a72bc3a78418236db009f5c9c547)
src/pybind/cephfs/cephfs.pyx