]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: some improvements for Client.cc 65432/head
authorRishabh Dave <ridave@redhat.com>
Sun, 7 Sep 2025 15:40:30 +0000 (21:10 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 8 Sep 2025 11:43:06 +0000 (17:13 +0530)
commit025827b4b5621350faf76081f75065a1fc329086
treed9a06c9afc41416079e9be37aff56ef249153034
parentd16a12bdf8fc20fc4fd21a405460b5270c635aeb
client: some improvements for Client.cc

1. Log entry is too short and multiple member functions can have same
directory and therefore it's best to prefix log entry with member
function's name so that it is easy to locate it in codebase.

2. Variable name "err" doesn't necessarily hold error code but may hold
a generic return value as well. Renaming it to "retval" will mildly and
quietly emphasize this to the reader.

3. Fix log entry in _rmdir() which incorrectly prefixes itself with "rmdir".

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/client/Client.cc