]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: cleanup scrub code
authorYan, Zheng <zyan@redhat.com>
Mon, 16 Apr 2018 09:18:41 +0000 (17:18 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 19 Apr 2018 04:56:38 +0000 (12:56 +0800)
commite3a45dfb2fe2bee3714b884ce433169802f989b4
tree6688f06860e9e756855e7a1818f53d8c5a175f00
parent7a227cc09cfb8f55c4541ca5d7c01dd6d6fa6178
mds: cleanup scrub code

1. scrub_infop can not be nullptr for inodes that are being scrubbed.
2. properly set scrub_infop->repaired if any error gets repired.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/CInode.cc