]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: ll_set_fscrypt_policy_v2 separate "directory empty" logic
authorMarcus Watts <mwatts@redhat.com>
Sat, 28 Jun 2025 00:56:05 +0000 (20:56 -0400)
committerChristopher Hoffman <choffman@redhat.com>
Fri, 19 Sep 2025 21:20:15 +0000 (21:20 +0000)
commitfa6cdc888a76f61e40439dd7fbc10acd3016d1fc
tree9af55aa7aa2ab8e1e3ba836efa2b20ff0ce93c84
parent5644732918a9df429c5d5b3d1ece80c8d59369f4
client: ll_set_fscrypt_policy_v2 separate "directory empty" logic

Move "directory empty" logic to new method "_is_empty_directory".
Future logic will not be a one-liner, so let's keep it separate.

Resolves: rhbz#2376757
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit f0cf85a595876165e2c0eb2ca584e97f44971f9d)
src/client/Client.cc
src/client/Client.h