]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/cephfs: DT_REG and DT_LNK values are wrong 40085/head
authorVarsha Rao <varao@redhat.com>
Wed, 24 Feb 2021 11:16:47 +0000 (16:46 +0530)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 12 Mar 2021 20:50:38 +0000 (12:50 -0800)
commita191ff558e8462c8c589a0d992c35a09af65d882
tree21fe8855e0a58eba150c039eda78959042ba687b
parent802fb56f38ae88bca7c1d11749d764133a3af997
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