Fix ext_partition with cdef

Change-Id: If3a4c7e6aee747afd675e0233560f6e721c10f79
2 files changed