]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: put the validation of image snap context earlier 9046/head
authorrunsisi <runsisi@zte.com.cn>
Wed, 20 Apr 2016 01:55:39 +0000 (09:55 +0800)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 May 2016 16:32:07 +0000 (12:32 -0400)
commit357ad37a4facc9917866c780892c7cd0e21653fd
treed4c536fc2699f40c27db496f4f56d3ea56639c22
parent2495f08a64b352cbd21432b708fdd8e4090b67bb
librbd: put the validation of image snap context earlier

we'd better validate the snap context right after we got the mutable
metadata before we could go any further

Signed-off-by: runsisi <runsisi@zte.com.cn>
(cherry picked from commit ca8ae66ba42e7a598ad23ed911938589dc288456)
src/librbd/image/RefreshRequest.cc