]> git.apps.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>
Mon, 11 Apr 2022 06:26:47 +0000 (08:26 +0200)
commitd64a3ae265897806809d9fa08ac72c549b4bca4f
treea19896f474e09a1fb0fd72861c9cd06af4ac5d81
parent016882925a63f4f03a9c445d008b2325d479bc30
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>
src/librbd/cache/pwl/rwl/WriteLog.cc
src/librbd/cache/pwl/ssd/WriteLog.cc