]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/cephfs: DT_REG and DT_LNK values are wrong 40704/head
authorVarsha Rao <varao@redhat.com>
Wed, 24 Feb 2021 11:16:47 +0000 (16:46 +0530)
committerNathan Cutler <ncutler@suse.com>
Thu, 8 Apr 2021 17:06:57 +0000 (19:06 +0200)
commit98e79e16d5a19ae898cacaccd4cec8e6499fbfb9
treeca7f74a469745e9a896d38f1489f2739196b7124
parenta3bb71c89d324b13294707f66d71b7b74886e1b6
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