]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/cephfs: DT_REG and DT_LNK values are wrong 39664/head
authorVarsha Rao <varao@redhat.com>
Wed, 24 Feb 2021 11:16:47 +0000 (16:46 +0530)
committerVarsha Rao <varao@redhat.com>
Wed, 24 Feb 2021 16:21:04 +0000 (21:51 +0530)
commit91e2275f4cd6a72bc3a78418236db009f5c9c547
treee2b245a10eb10ecc75f526627d70d93eda2a9286
parent3a09e186830765c37fcfc0a1281e602bcd4c4738
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>
src/pybind/cephfs/cephfs.pyx