Introduced-by: 2439bcb87398
Fixes: https://tracker.ceph.com/issues/73435
Signed-off-by: Rishabh Dave <ridave@redhat.com>
from libc.stdint cimport *
from types cimport *
+cdef extern from "../include/platform_errno.h":
+ ctypedef signed int int32_t;
+ int32_t ceph_to_hostos_errno(int32_t e)
+
cdef extern from "cephfs/ceph_ll_client.h":
cdef struct statx "ceph_statx":
uint32_t stx_mask
from types cimport timespec
+cdef:
+ int32_t ceph_to_hostos_errno(int32_t e):
+ pass
+
+
cdef:
cdef struct statx "ceph_statx":
uint32_t stx_mask
unsigned short int d_reclen
unsigned char d_type
char d_name[256]
-
-cdef extern from "../../include/platform_errno.h":
- ctypedef signed int int32_t;
- int32_t ceph_to_hostos_errno(int32_t e)