]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/cephfs: don't attempt to unlink root in rmtree
authorRishabh Dave <ridave@redhat.com>
Mon, 6 Apr 2026 06:26:23 +0000 (11:56 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 16 Apr 2026 12:41:08 +0000 (18:11 +0530)
commitdefbc0651e44b00060cdcf11b28c714f189b1c72
tree3fc95cab58f5012b36d28f9ef564bf286ee2401d
parentf8d88d511800310fe2299853532fe32a531990f1
pybind/cephfs: don't attempt to unlink root in rmtree

Don't attempt to unlink '/' as part of recursive delete when rmtree('/')
is called as it is an invalid op.

Fixes: https://tracker.ceph.com/issues/75924
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/cephfs/cephfs.pyx