]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/libcephfs: update root operation return values
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 19 Feb 2025 17:51:32 +0000 (12:51 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:19 +0000 (15:43 -0400)
commiteef245fcb18c15f27a00421b7fcd0a2213ef356c
treef22b17ec0adfd7648452efff92cef00af8a86f5e
parentde04ceb2c2ce78bcfebad479751fccdb8bb9db84
test/libcephfs: update root operation return values

Switch from EBUSY to reasonable and normal errors for operations on the root
directory. Use the Client::path_walk machinery changes from the previous commit
to catch most of them, otherwise return EINVAL (which is normal for other POSIX
fs).

Fixes: 6ed7f2364ae5507bab14c60b582929aa7b0ba400
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 292f5ac45b8190223e97b3f9ae5904605de7a888)
src/test/libcephfs/test.cc