]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: do not queue NULL dup_op
authorSage Weil <sage@inktank.com>
Sat, 10 May 2014 17:29:11 +0000 (10:29 -0700)
committerSage Weil <sage@inktank.com>
Mon, 19 May 2014 20:53:02 +0000 (13:53 -0700)
commit22e2e7cff42970b00dc352513f1f138132f78d04
tree6312a7e87fee37e7c9cd16b6b740804df14aad70
parenta38fe1169b6d2ac98b427334c12d7cf81f809b74
osd/ReplicatedPG: do not queue NULL dup_op

We call start_flush() with a NULL op in a couple different places.  Do not
put a NULL pointer on the dup_ops list or we will crash later.

Fixes: #8328
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 0d67f9b0695765824bdc4a65fbed88edf8ea232e)
src/osd/ReplicatedPG.cc