]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache/pwl: no need to set clean and empty in remove_pool_file()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 8 Apr 2022 13:53:38 +0000 (15:53 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 13 Apr 2022 10:57:45 +0000 (12:57 +0200)
commit444bc6e5a8d17202c276d8128f7ca656d598e9ed
tree8e37dd617dbd247ecc8110bcacee1163898d9a60
parent55af5e0c46b48317bdb4623236b62f1339ca27df
librbd/cache/pwl: no need to set clean and empty in remove_pool_file()

It is redundant -- the only caller sets both since commit 6593e31fff18
("librbd/cache/pwl: correct cache state").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit d64a3ae265897806809d9fa08ac72c549b4bca4f)
src/librbd/cache/pwl/rwl/WriteLog.cc
src/librbd/cache/pwl/ssd/WriteLog.cc