]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: getcwd after chdir for API constraint 62228/head
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 12 Mar 2025 14:33:02 +0000 (10:33 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Thu, 13 Mar 2025 14:07:13 +0000 (10:07 -0400)
commitc7c5089ff95d6c68e009686bf4ff74772ad4ff67
treee0e95b3b26d53049b7418e42f343ba892c1d6d43
parentcda2a6e6facb24eba96afb51341720336febdd54
libcephfs: getcwd after chdir for API constraint

libcephfs semantics require that the old path to the cwd be returned when
getcwd is encounters an unlinked directory in the current working directory.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/libcephfs.cc